class CRM_Contact_BAO_Query_Hook

Delegate query functions based on hook system.

Properties

protected array $_queryObjects

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 49
static object singleton()

Singleton function used to manage this object.

Return Value

object

at line 63
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 74
array getFields()

Return Value

array

at line 87
alterSearchBuilderOptions($apiEntities, $fieldOptions)

Parameters

$apiEntities
$fieldOptions

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

Alter search query.

Parameters

string $query
string $fnName

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

Parameters

string $fieldName
$mode
$side

Return Value

string

at line 123
setTableDependency($tables)

Parameters

$tables

at line 132
registerAdvancedSearchPane($panes)

Parameters

$panes

at line 141
getPanesMapper($panes)

Parameters

$panes

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

Parameters

CRM_Core_Form $form
$type

at line 161
setAdvancedSearchPaneTemplatePath($paneTemplatePathArray, $type)

Parameters

$paneTemplatePathArray
$type