Documentation

CRM_Pledge_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 for pledges.
defaultReturnProperties()  : array<string|int, mixed>|null
Ideally this function should include fields that are displayed in the selector.
extraReturnProperties()  : array<string|int, mixed>|null
This includes any extra fields that might need for export etc.
from()  : null|string
From clause.
getFields()  : array<string|int, mixed>
Get pledge fields.
getPledgePaymentSearchFieldMetadata()  : mixed
Get the metadata for fields to be included on the grant search form.
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 Pledge.
tableNames()  : mixed
where()  : mixed
whereClauseSingle()  : mixed
Get where clause for field.
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()

Ideally this function should include fields that are displayed in the selector.

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

extraReturnProperties()

This includes any extra fields that might need for export etc.

public static extraReturnProperties(string $mode) : array<string|int, mixed>|null
Parameters
$mode : string
Return values
array<string|int, mixed>|null

from()

From clause.

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

getFields()

Get pledge fields.

public static getFields([bool $checkPermission = TRUE ]) : array<string|int, mixed>
Parameters
$checkPermission : bool = TRUE
Return values
array<string|int, mixed>

getPledgePaymentSearchFieldMetadata()

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

public static getPledgePaymentSearchFieldMetadata() : mixed
Tags
throws
CRM_Core_Exception

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

public static tableNames(mixed &$tables) : mixed
Parameters
$tables : mixed

where()

public static where(mixed &$query) : mixed
Parameters
$query : 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>

        
On this page

Search results