CRM_Grant_BAO_Query
class CRM_Grant_BAO_Query extends CRM_Core_BAO_Query
Methods
Get legacy fields which we still maybe support.
No description
Build select for CiviGrant.
Given a list of conditions in params generate the required.
No description
No description
Get the metadata for fields to be included on the grant search form.
Transitional function for specifying which fields the tpl can iterate through.
Add all the elements shared between grant search and advanaced search.
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.
in CRM_Core_BAO_Query at line 102
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 40
static array
getFields()
at line 53
static void
select($query)
Build select for CiviGrant.
at line 110
static void
where($query)
Given a list of conditions in params generate the required.
where clause
at line 126
static
whereClauseSingle($values, CRM_Contact_BAO_Query $query)
at line 239
static null|string
from(string $name, $mode, $side)
at line 275
static array|null
defaultReturnProperties($mode, bool $includeCustomFields = TRUE)
at line 302
static
getSearchFieldMetadata()
Get the metadata for fields to be included on the grant search form.
at line 317
static
getTemplateHandlableSearchFields()
Transitional function for specifying which fields the tpl can iterate through.
at line 329
static void
buildSearchForm(CRM_Grant_Form_Search $form)
Add all the elements shared between grant search and advanaced search.