Documentation

CRM_Event_BAO_Query extends CRM_Core_BAO_Query
in package

Tags
copyright

CiviCRM LLC https://civicrm.org/licensing

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>

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>|null

from()

public static from(string $name, mixed $mode, mixed $side) : null|string
Parameters
$name : string
$mode : mixed
$side : mixed
Return values
null|string

getFields()

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
throws
CRM_Core_Exception

qill()

Getter for the qill object.

public qill() : string
Return values
string

searchAction()

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

getFieldName()

Get the name of the field.

protected static getFieldName(array<string|int, mixed> $values) : string
Parameters
$values : array<string|int, mixed>
Return values
string

getLegacySupportedFields()

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>
Return values
array<string|int, mixed>

        
On this page

Search results