CRM_Contact_Form_Search_Custom_Basic
class CRM_Contact_Form_Search_Custom_Basic extends CRM_Contact_Form_Search_Custom_Base implements CRM_Contact_Form_Search_Interface
Properties
protected | $_formValues | from CRM_Contact_Form_Search_Custom_Base | |
protected | $_columns | from CRM_Contact_Form_Search_Custom_Base | |
protected | $_stateID | from CRM_Contact_Form_Search_Custom_Base | |
protected | $_query | ||
protected | $_aclFrom | ||
protected | $_aclWhere |
Methods
__construct(array $formValues)
Class constructor.
array
buildTaskList(CRM_Core_Form_Search $form)
Builds the list of tasks or actions that a searcher can perform on a result set.
null|string
count()
No description
string
contactIDs(int $offset = 0, int $rowcount = 0, null $sort = NULL, bool $returnSQL = FALSE)
No description
string
sql($selectClause, int $offset = 0, int $rowcount = 0, null $sort = NULL, bool $includeContactIDs = FALSE, null $groupBy = NULL)
No description
null
templateFile()
No description
addSortOffset($sql, $offset, $rowcount, $sort)
No description
validateUserSQL($sql, bool $onlyWhere = FALSE)
No description
null
getQueryObj()
No description
array
all(int $offset = 0, int $rowCount = 0, null $sort = NULL, bool $includeContactIDs = FALSE, bool $justIDs = FALSE)
No description
from()
No description
where(bool $includeContactIDs = FALSE)
No description
buildACLClause(string $tableAlias = 'contact')
No description
Details
at line 44
__construct(array $formValues)
Class constructor.
in CRM_Contact_Form_Search_Custom_Base at line 59
array
buildTaskList(CRM_Core_Form_Search $form)
Builds the list of tasks or actions that a searcher can perform on a result set.
The returned array completely replaces the task list, so a child class that wants to modify the existing list should manipulate the result of this method.
at line 110
null|string
count()
in CRM_Contact_Form_Search_Custom_Base at line 73
null
summary()
in CRM_Contact_Form_Search_Custom_Base at line 85
string
contactIDs(int $offset = 0, int $rowcount = 0, null $sort = NULL, bool $returnSQL = FALSE)
in CRM_Contact_Form_Search_Custom_Base at line 111
string
sql($selectClause, int $offset = 0, int $rowcount = 0, null $sort = NULL, bool $includeContactIDs = FALSE, null $groupBy = NULL)
at line 170
null
templateFile()
in CRM_Contact_Form_Search_Custom_Base at line 147
columns()
in CRM_Contact_Form_Search_Custom_Base at line 155
static
includeContactIDs($sql, $formValues)
in CRM_Contact_Form_Search_Custom_Base at line 177
addSortOffset($sql, $offset, $rowcount, $sort)
in CRM_Contact_Form_Search_Custom_Base at line 202
validateUserSQL($sql, bool $onlyWhere = FALSE)
in CRM_Contact_Form_Search_Custom_Base at line 233
string
whereClause($where, array $params)
at line 177
null
getQueryObj()
in CRM_Contact_Form_Search_Custom_Base at line 251
setTitle(string $title)
Set the title.
in CRM_Contact_Form_Search_Custom_Base at line 270
array
formRule(array $fields, array $files, CRM_Core_Form $self)
Validate form input.