CRM_Mailing_BAO_Query
class CRM_Mailing_BAO_Query
Methods
Get fields for the mailing & mailing job entity.
If mailings are involved, add the specific Mailing fields
Get the metadata for fields to be included on the mailing search form.
No description
No description
No description
No description
Add all the elements shared between Mailing search and advnaced search.
No description
No description
Filter query results based on which contacts do (not) have a particular mailing event in their history.
Details
at line 40
static array
getFields()
Get fields for the mailing & mailing job entity.
at line 59
static
select($query)
If mailings are involved, add the specific Mailing fields
at line 140
static
getSearchFieldMetadata()
Get the metadata for fields to be included on the mailing search form.
at line 150
static
where($query)
at line 173
static null|string
from(string $name, $mode, $side)
at line 224
static array|null
defaultReturnProperties($mode, bool $includeCustomFields = TRUE)
at line 254
static
whereClauseSingle($values, $query)
at line 412
static
buildSearchForm(CRM_Mailing_Form_Search $form)
Add all the elements shared between Mailing search and advnaced search.
at line 461
static
searchAction($row, int $id)
at line 467
static
tableNames($tables)
at line 485
static
mailingEventQueryBuilder($query, $values, string $tableName, string $fieldName, $fieldTitle, $valueTitles)
Filter query results based on which contacts do (not) have a particular mailing event in their history.