class CRM_Event_BAO_Query extends CRM_Core_BAO_Query

Methods

static 
addCustomFormFields(CRM_Core_Form $form, array $extends)

No description

static array
getLegacySupportedFields()

Get legacy fields which we still maybe support.

string
qill()

Getter for the qill object.

static 
searchAction($row, int $id)

Possibly unnecessary function.

static 
tableNames($tables)

No description

static string
getFieldName(array $values)

Get the name of the field.

static array
getFields(bool $checkPermission = TRUE)

Function get the import/export fields for contribution.

static array
getParticipantFields()

No description

static 
select($query)

Build select for CiviEvent.

static 
where($query)

No description

static 
whereClauseSingle($values, CRM_Contact_BAO_Query $query)

No description

static null|string
from(string $name, $mode, $side)

No description

static array|null
defaultReturnProperties($mode, bool $includeCustomFields = TRUE)

No description

static 
getSearchFieldMetadata()

Get the metadata for fields to be included on the grant search form.

static 
buildSearchForm(CRM_Event_Form_Search $form)

Build the event search form.

static array
getPseudoEventDateFieldMetadata()

Get metadata from pseudo search field 'event'.

Details

in CRM_Core_BAO_Query at line 41
static addCustomFormFields(CRM_Core_Form $form, array $extends)

Parameters

CRM_Core_Form $form
array $extends

in CRM_Core_BAO_Query at line 69
static protected array getLegacySupportedFields()

Get legacy fields which we still maybe support.

These are contribution specific but I think it's ok to have one list of legacy supported params in a central place.

Return Value

array

in CRM_Core_BAO_Query at line 87
string qill()

Getter for the qill object.

Return Value

string

in CRM_Core_BAO_Query at line 97
static searchAction($row, int $id)

Possibly unnecessary function.

Parameters

$row
int $id

at line 671
static tableNames($tables)

Parameters

$tables

in CRM_Core_BAO_Query at line 111
static protected string getFieldName(array $values)

Get the name of the field.

Parameters

array $values

Return Value

string

at line 45
static array getFields(bool $checkPermission = TRUE)

Function get the import/export fields for contribution.

Parameters

bool $checkPermission

Return Value

array Associative array of contribution fields

at line 57
static array getParticipantFields()

Return Value

array

at line 66
static select($query)

Build select for CiviEvent.

Parameters

$query

at line 231
static where($query)

Parameters

$query

at line 253
static whereClauseSingle($values, CRM_Contact_BAO_Query $query)

Parameters

$values
CRM_Contact_BAO_Query $query

at line 486
static null|string from(string $name, $mode, $side)

Parameters

string $name
$mode
$side

Return Value

null|string

at line 536
static array|null defaultReturnProperties($mode, bool $includeCustomFields = TRUE)

Parameters

$mode
bool $includeCustomFields

Return Value

array|null

at line 589
static getSearchFieldMetadata()

Get the metadata for fields to be included on the grant search form.

at line 609
static buildSearchForm(CRM_Event_Form_Search $form)

Build the event search form.

at line 683
static protected array getPseudoEventDateFieldMetadata()

Get metadata from pseudo search field 'event'.

Return Value

array