CRM_Pledge_BAO_Query
class CRM_Pledge_BAO_Query extends CRM_Core_BAO_Query
Methods
Get legacy fields which we still maybe support.
No description
Get pledge fields.
No description
From clause.
Ideally this function should include fields that are displayed in the selector.
This includes any extra fields that might need for export etc.
Get the metadata for fields to be included on the grant search form.
Get the metadata for fields to be included on the grant search form.
Build the search for for pledges.
Details
in CRM_Core_BAO_Query at line 41
static
addCustomFormFields(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.
in CRM_Core_BAO_Query at line 87
string
qill()
Getter for the qill object.
in CRM_Core_BAO_Query at line 97
static
searchAction($row, int $id)
Possibly unnecessary function.
at line 612
static
tableNames($tables)
in CRM_Core_BAO_Query at line 111
static protected string
getFieldName(array $values)
Get the name of the field.
at line 42
static array
getFields(bool $checkPermission = TRUE)
Get pledge fields.
at line 51
static
select(CRM_Contact_BAO_Query $query)
Build select for Pledge.
at line 231
static
where($query)
at line 257
static
whereClauseSingle(array $values, CRM_Contact_BAO_Query $query)
Get where clause for field.
at line 403
static null|string
from(string $name, string $mode, string $side)
From clause.
at line 445
static array|null
defaultReturnProperties(int $mode, bool $includeCustomFields = TRUE)
Ideally this function should include fields that are displayed in the selector.
at line 485
static array|null
extraReturnProperties(string $mode)
This includes any extra fields that might need for export etc.
at line 518
static
getSearchFieldMetadata()
Get the metadata for fields to be included on the grant search form.
at line 534
static
getPledgePaymentSearchFieldMetadata()
Get the metadata for fields to be included on the grant search form.
at line 550
static
buildSearchForm(CRM_Pledge_Form_Search|CRM_Contact_Form_Search_Advanced $form)
Build the search for for pledges.