CRM_Contact_Form_Search_Custom_DateAdded
class CRM_Contact_Form_Search_Custom_DateAdded 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 | $_aclFrom | ||
protected | $_aclWhere | ||
protected | $_datesTable | ||
protected | $_xgTable | ||
protected | $_igTable |
Methods
Class constructor.
Builds the list of tasks or actions that a searcher can perform on a result set.
No description
No description
No description
No description
No description
No description
No description
override this method to define the contact query object used for creating $sql
No description
No description
No description
No description
No description
No description
Format saved search fields for this custom group.
Details
at line 47
__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 395
null|string
count()
at line 112
null
summary()
at line 124
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 376
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)
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 383
setTitle(string $title)
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 64
buildForm(CRM_Core_Form $form)
at line 137
all(int $offset = 0, int $rowcount = 0, null $sort = NULL, bool $includeContactIDs = FALSE, bool $justIDs = FALSE)
at line 181
from()
at line 365
where(bool $includeContactIDs = FALSE)
at line 402
__destruct()
at line 418
buildACLClause(string $tableAlias = 'contact')
at line 432
static array
formatSavedSearchFields(array $formValues)
Format saved search fields for this custom group.
Note this is a function to facilitate the transition to jcalendar for saved search groups. In time it can be stripped out again.