CRM_Event_BAO_Query
extends CRM_Core_BAO_Query
in package
Tags
Table of Contents
Methods
- addCustomFormFields() : mixed
- buildSearchForm() : mixed
- Build the event search form.
- defaultReturnProperties() : array<string|int, mixed>|null
- from() : null|string
- getFields() : array<string|int, mixed>
- Function get the import/export fields for contribution.
- getParticipantFields() : array<string|int, mixed>
- getSearchFieldMetadata() : mixed
- Get the metadata for fields to be included on the grant search form.
- qill() : string
- Getter for the qill object.
- searchAction() : mixed
- Possibly unnecessary function.
- select() : mixed
- Build select for CiviEvent.
- tableNames() : mixed
- where() : mixed
- Get event related where clauses.
- whereClauseSingle() : mixed
- getFieldName() : string
- Get the name of the field.
- getLegacySupportedFields() : array<string|int, mixed>
- Get legacy fields which we still maybe support.
- getPseudoEventDateFieldMetadata() : array<string|int, mixed>
- Get metadata from pseudo search field 'event'.
Methods
addCustomFormFields()
public
static addCustomFormFields(CRM_Core_Form &$form, array<string|int, mixed> $extends) : mixed
Parameters
- $form : CRM_Core_Form
- $extends : array<string|int, mixed>
buildSearchForm()
Build the event search form.
public
static buildSearchForm(CRM_Event_Form_Search &$form) : mixed
Parameters
- $form : CRM_Event_Form_Search
Tags
defaultReturnProperties()
public
static defaultReturnProperties(mixed $mode[, bool $includeCustomFields = TRUE ]) : array<string|int, mixed>|null
Parameters
- $mode : mixed
- $includeCustomFields : bool = TRUE
Return values
array<string|int, mixed>|nullfrom()
public
static from(string $name, mixed $mode, mixed $side) : null|string
Parameters
- $name : string
- $mode : mixed
- $side : mixed
Return values
null|stringgetFields()
Function get the import/export fields for contribution.
public
static & getFields([bool $checkPermission = TRUE ]) : array<string|int, mixed>
Parameters
- $checkPermission : bool = TRUE
Return values
array<string|int, mixed> —Associative array of contribution fields
getParticipantFields()
public
static getParticipantFields() : array<string|int, mixed>
Return values
array<string|int, mixed>getSearchFieldMetadata()
Get the metadata for fields to be included on the grant search form.
public
static getSearchFieldMetadata() : mixed
Tags
qill()
Getter for the qill object.
public
qill() : string
Return values
stringsearchAction()
Possibly unnecessary function.
public
static searchAction(mixed &$row, int $id) : mixed
Parameters
- $row : mixed
- $id : int
select()
Build select for CiviEvent.
public
static select(mixed &$query) : mixed
Parameters
- $query : mixed
tableNames()
public
static tableNames(mixed &$tables) : mixed
Parameters
- $tables : mixed
where()
Get event related where clauses.
public
static where(CRM_Contact_BAO_Query &$query) : mixed
Parameters
- $query : CRM_Contact_BAO_Query
whereClauseSingle()
public
static whereClauseSingle(mixed &$values, CRM_Contact_BAO_Query &$query) : mixed
Parameters
- $values : mixed
- $query : CRM_Contact_BAO_Query
Tags
getFieldName()
Get the name of the field.
protected
static getFieldName(array<string|int, mixed> $values) : string
Parameters
- $values : array<string|int, mixed>
Return values
stringgetLegacySupportedFields()
Get legacy fields which we still maybe support.
protected
static getLegacySupportedFields() : array<string|int, mixed>
These are contribution specific but I think it's ok to have one list of legacy supported params in a central place.
Return values
array<string|int, mixed>getPseudoEventDateFieldMetadata()
Get metadata from pseudo search field 'event'.
protected
static getPseudoEventDateFieldMetadata() : array<string|int, mixed>