* This function gets the attribute for the action that
* it matches.
*
- * @param string match the action to match against
- * @param string attribute the attribute to return ( name, link, title )
+ * @param string match the action to match against
+ * @param string attribute the attribute to return ( name, link, title )
*
* @return string the attribute that matches the action if any
*
- * @access public
*
*/
- function getActionAttribute($match, $attribute = 'name') {
+ public function getActionAttribute($match, $attribute = 'name') {
$links = &$this->links();
foreach ($link as $action => $item) {
* 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
*
- * @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");
}
* @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)) {
* Setter for permission
*
* @var string
- * @access public
*/
public function setPermission($permission) {
$this->_permission = $permission;
* to display on the results page
*
* @return string
- * @access public
*/
public function getQill() {
return NULL;
return $this->_key;
}
}
-