CRM_Contact_Form_Search_Custom_Proximity
class CRM_Contact_Form_Search_Custom_Proximity extends CRM_Contact_Form_Search_Custom_Base implements CRM_Contact_Form_Search_Interface
This search now functions as a subset of advanced search since at some point it was added to advanced search.
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 | $_latitude | ||
protected | $_longitude | ||
protected | $_distance | ||
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
Override sql() function to use the Query object rather than generating on the form.
No description
No description
No description
Get the query object for this selector.
No description
No description
No description
No description
No description
No description
Add the geocoding data to the fields supplied.
Details
at line 51
__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.
in CRM_Contact_Form_Search_Custom_Base at line 66
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)
at line 197
string
sql($selectClause, int $offset = 0, int $rowcount = 0, null $sort = NULL, bool $includeContactIDs = FALSE, null $groupBy = NULL)
Override sql() function to use the Query object rather than generating on the form.
at line 265
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 92
null
getQueryObj()
Get the query object for this selector.
at line 306
setTitle(string $title)
at line 325
array
formRule(array $fields, array $files, CRM_Core_Form $self)
Validate form input.
at line 99
buildForm(CRM_Core_Form $form)
at line 173
all(int $offset = 0, int $rowcount = 0, null $sort = NULL, bool $includeContactIDs = FALSE, bool $justIDs = FALSE)
at line 247
from()
at line 257
where(bool $includeContactIDs = FALSE)
at line 272
array|null
setDefaultValues()
at line 300
alterRow($row)
at line 343
protected
addGeocodingData(array $fields)
Add the geocoding data to the fields supplied.