class CRM_Member_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)

Add membership table.

static string
getFieldName(array $values)

Get the name of the field.

static array
getFields()

Get available fields.

static 
select(CRM_Contact_BAO_Query $query)

If membership are involved, add the specific membership fields.

static 
where(CRM_Contact_BAO_Query $query)

Generate where clause.

static 
whereClauseSingle(array $values, CRM_Contact_BAO_Query $query)

Generate where for a single parameter.

static string
from(string $name, int $mode, string $side)

Generate from clause.

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

Get default return properties.

static 
getSearchFieldMetadata()

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

static 
buildSearchForm(CRM_Core_Form $form)

Build the search form.

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 565
static tableNames($tables)

Add membership table.

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 40
static array getFields()

Get available fields.

Return Value

array

at line 50
static select(CRM_Contact_BAO_Query $query)

If membership are involved, add the specific membership fields.

Parameters

CRM_Contact_BAO_Query $query

at line 143
static where(CRM_Contact_BAO_Query $query)

Generate where clause.

Parameters

CRM_Contact_BAO_Query $query

at line 163
static whereClauseSingle(array $values, CRM_Contact_BAO_Query $query)

Generate where for a single parameter.

Parameters

array $values
CRM_Contact_BAO_Query $query

at line 410
static string from(string $name, int $mode, string $side)

Generate from clause.

Parameters

string $name
int $mode
string $side

Return Value

string

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

Get default return properties.

Parameters

string $mode
bool $includeCustomFields

Return Value

array|null

at line 497
static getSearchFieldMetadata()

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

at line 512
static buildSearchForm(CRM_Core_Form $form)

Build the search form.

Parameters

CRM_Core_Form $form