X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FSelector%2FBase.php;h=e992759f1a542c9d462d8f9f351e7f22bb35b0fd;hb=6a0b768e17b6b5271ee014b4ac30066376de1f52;hp=78a1caf4a495f5efff9911afeba1b955bf97e8ac;hpb=afed0de9c0305abb1c011d6e87fd5e7a1ddee543;p=civicrm-core.git diff --git a/CRM/Core/Selector/Base.php b/CRM/Core/Selector/Base.php index 78a1caf4a4..e992759f1a 100644 --- a/CRM/Core/Selector/Base.php +++ b/CRM/Core/Selector/Base.php @@ -1,7 +1,7 @@ links(); foreach ($link as $action => $item) { @@ -94,31 +93,30 @@ class CRM_Core_Selector_Base { * qs : the parameters to the above url along with any dynamic substitutions * title : A more descriptive name, typically used in breadcrumbs / navigation */ - static function &links() { + public static function &links() { return NULL; } /** - * compose the template file name from the class name + * Compose the template file name from the class name * - * @param string $action the action being performed + * @param string $action + * The action being performed. * * @return string template file name - * @access public */ - function getTemplateFileName($action = NULL) { + public function getTemplateFileName($action = NULL) { return (str_replace('_', DIRECTORY_SEPARATOR, CRM_Utils_System::getClassName($this)) . ".tpl"); } /** - * getter for the sorting direction for the fields which will be displayed on the form. + * Getter for the sorting direction for the fields which will be displayed on the form. * * @param string action the action being performed * * @return array the elements that can be sorted along with their properties - * @access public */ - function &getSortOrder($action) { + public function &getSortOrder($action) { $columnHeaders = &$this->getColumnHeaders(NULL); if (!isset($this->_order)) { @@ -148,36 +146,42 @@ class CRM_Core_Selector_Base { } /** - * setter for permission + * Setter for permission * * @var string - * @access public */ public function setPermission($permission) { $this->_permission = $permission; } /** - * get the display text in plain language for the search + * Get the display text in plain language for the search * to display on the results page * * @return string - * @access public */ public function getQill() { return NULL; } + /** + * @return null + */ public function getSummary() { return NULL; } + /** + * @param $key + */ public function setKey($key) { $this->_key = $key; } + /** + * @return string + */ public function getKey() { return $this->_key; } } -