Documentation

CRM_Member_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 search form.
defaultReturnProperties()  : array<string|int, mixed>|null
Get default return properties.
from()  : string
Generate from clause.
getFields()  : array<string|int, mixed>
Get available fields.
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
If membership are involved, add the specific membership fields.
tableNames()  : mixed
Add membership table.
where()  : mixed
Generate where clause.
whereClauseSingle()  : mixed
Generate where for a single parameter.
getFieldName()  : string
Get the name of the field.
getLegacySupportedFields()  : array<string|int, mixed>
Get legacy fields which we still maybe support.

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()

Get default return properties.

public static defaultReturnProperties(string $mode[, bool $includeCustomFields = TRUE ]) : array<string|int, mixed>|null
Parameters
$mode : string
$includeCustomFields : bool = TRUE
Return values
array<string|int, mixed>|null

from()

Generate from clause.

public static from(string $name, int $mode, string $side) : string
Parameters
$name : string
$mode : int
$side : string
Return values
string

getFields()

Get available fields.

public static & getFields() : 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

tableNames()

Add membership table.

public static tableNames(array<string|int, mixed> &$tables) : mixed
Parameters
$tables : array<string|int, mixed>

whereClauseSingle()

Generate where for a single parameter.

public static whereClauseSingle(array<string|int, mixed> &$values, CRM_Contact_BAO_Query &$query) : mixed
Parameters
$values : array<string|int, mixed>
$query : CRM_Contact_BAO_Query

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>

        
On this page

Search results