CRM_Contact_Form_Search_Interface
interface CRM_Contact_Form_Search_Interface
Methods
The constructor gets the submitted form values.
Builds the list of tasks or actions that a searcher can perform on a result set.
Count of records that match the current input parameters.
Summary information for the query that can be displayed in the template.
List of contact ids that match the current input parameters.
Retrieve all the values that match the current input parameters.
The from clause for the query.
The where clause for the query.
The template FileName to use to display the results.
Returns an array of column headers and field names and sort options.
Details
at line 40
__construct(array $formValues)
The constructor gets the submitted form values.
at line 48
array
buildTaskList(CRM_Core_Form_Search $form)
Builds the list of tasks or actions that a searcher can perform on a result set.
at line 55
buildForm(CRM_Core_Form $form)
Builds the quickform for this search.
at line 69
count()
Count of records that match the current input parameters.
Used by pager.
at line 76
summary()
Summary information for the query that can be displayed in the template.
This is useful to pass total / sub total information if needed
at line 88
contactIDs(int $offset = 0, int $rowcount = 0, null $sort = NULL)
List of contact ids that match the current input parameters.
Used by different tasks. Will be also used to optimize the 'all' query below to avoid excessive LEFT JOIN blowup
at line 101
all(int $offset = 0, int $rowcount = 0, null $sort = NULL, bool $includeContactIDs = FALSE, bool $justIDs = FALSE)
Retrieve all the values that match the current input parameters.
Used by the selector
at line 115
from()
The from clause for the query.
at line 122
where(bool $includeContactIDs = FALSE)
The where clause for the query.
at line 127
templateFile()
The template FileName to use to display the results.
at line 132
columns()
Returns an array of column headers and field names and sort options.