CRM_Contact_Form_Search_Custom_Group
class CRM_Contact_Form_Search_Custom_Group extends CRM_Contact_Form_Search_Custom_Base implements CRM_Contact_Form_Search_Interface
Properties
protected | $_formValues | ||
protected | $_columns | from CRM_Contact_Form_Search_Custom_Base | |
protected | $_stateID | from CRM_Contact_Form_Search_Custom_Base | |
protected | $_tableName | ||
protected | $_where | ||
protected | $_aclFrom | ||
protected | $_aclWhere |
Methods
Class constructor.
Builds the list of tasks or actions that a searcher can perform on a result set.
No description
Get summary.
No description
No description
Get template file.
Define columns.
No description
No description
override this method to define the contact query object used for creating $sql
Set title on search.
No description
No description
No description
No description
Build ACL clause.
Details
at line 49
__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 581
null|string
count()
at line 615
null
summary()
Get summary.
at line 597
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 624
null
templateFile()
Get template file.
at line 606
columns()
Define 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)
in CRM_Contact_Form_Search_Custom_Base at line 242
null
getQueryObj()
override this method to define the contact query object used for creating $sql
at line 633
setTitle(string $title)
Set title on search.
in CRM_Contact_Form_Search_Custom_Base at line 270
array
formRule(array $fields, array $files, CRM_Core_Form $self)
Validate form input.
at line 83
__destruct()
at line 92
buildForm(CRM_Core_Form $form)
at line 163
all(int $offset = 0, int $rowcount = 0, null $sort = NULL, bool $includeContactIDs = FALSE, bool $justIDs = FALSE)
at line 242
from()
at line 549
where(bool $includeContactIDs = FALSE)
at line 647
buildACLClause(string $tableAlias = 'contact')
Build ACL clause.