class CRM_Contact_BAO_Query_Hook

Delegate query functions based on hook system.

Properties

protected CRM_Contact_BAO_Query_Interface[] $_queryObjects Query objects.

Methods

static object
singleton()

Singleton function used to manage this object.

array
getSearchQueryObjects()

Get or build the list of search objects (via hook).

array
getFields()

No description

alterSearchBuilderOptions($apiEntities, $fieldOptions)

No description

alterSearchQuery(string $query, string $fnName)

Alter search query.

string
buildSearchfrom(string $fieldName, $mode, $side)

No description

setTableDependency($tables)

No description

registerAdvancedSearchPane($panes)

No description

getPanesMapper($panes)

No description

buildAdvancedSearchPaneForm(CRM_Core_Form $form, $type)

No description

setAdvancedSearchPaneTemplatePath($paneTemplatePathArray, $type)

No description

Details

at line 51
static object singleton()

Singleton function used to manage this object.

Return Value

object

at line 65
array getSearchQueryObjects()

Get or build the list of search objects (via hook).

Return Value

array Array of CRM_Contact_BAO_Query_Interface objects

at line 76
array getFields()

Return Value

array

at line 89
alterSearchBuilderOptions($apiEntities, $fieldOptions)

Parameters

$apiEntities
$fieldOptions

at line 101
alterSearchQuery(string $query, string $fnName)

Alter search query.

Parameters

string $query
string $fnName

at line 114
string buildSearchfrom(string $fieldName, $mode, $side)

Parameters

string $fieldName
$mode
$side

Return Value

string

at line 125
setTableDependency($tables)

Parameters

$tables

at line 134
registerAdvancedSearchPane($panes)

Parameters

$panes

at line 143
getPanesMapper($panes)

Parameters

$panes

at line 153
buildAdvancedSearchPaneForm(CRM_Core_Form $form, $type)

Parameters

CRM_Core_Form $form
$type

at line 163
setAdvancedSearchPaneTemplatePath($paneTemplatePathArray, $type)

Parameters

$paneTemplatePathArray
$type