CRM_Core_Selector_Base
class CRM_Core_Selector_Base
A simple base class for objects that need to implement the selector api interface. This class provides common functionality with regard to actions and display names
Properties
protected array | $_order | The sort order which is computed from the columnHeaders | |
protected string | $_permission | The permission mask for this selector | |
protected string | $_key | The qfKey of the underlying search |
Methods
This function gets the attribute for the action that.
This is a static virtual function returning reference on links array. Each inherited class must redefine this function
Compose the template file name from the class name.
Getter for the sorting direction for the fields which will be displayed on the form.
Setter for permission.
Get the display text in plain language for the search to display on the results page
No description
No description
No description
Details
at line 72
string
getActionAttribute(string $match, string $attribute = 'name')
This function gets the attribute for the action that.
it matches.
at line 95
static
links()
This is a static virtual function returning reference on links array. Each inherited class must redefine this function
links is an array of associative arrays. Each element of the array has at least 3 fields
name : the name of the link url : the URI to be used for this link qs : the parameters to the above url along with any dynamic substitutions title : A more descriptive name, typically used in breadcrumbs / navigation
at line 108
string
getTemplateFileName(string $action = NULL)
Compose the template file name from the class name.
at line 120
array
getSortOrder(string $action)
Getter for the sorting direction for the fields which will be displayed on the form.
at line 154
setPermission($permission)
Setter for permission.
at line 168
array
getQill()
Get the display text in plain language for the search to display on the results page
FIXME: the current internationalisation is bad, but should more or less work on most of "European" languages