class CRM_Activity_BAO_Query

Methods

static 
select(CRM_Contact_BAO_Query $query)

Build select for Case.

static 
where($query)

Given a list of conditions in query generate the required where clause.

static 
whereClauseSingle(array $values, CRM_Contact_BAO_Query $query)

Where clause for a single field.

static null|string
from(string $name, $mode, $side)

No description

static 
getSearchFieldMetadata()

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

static 
buildSearchForm(CRM_Core_Form_Search $form)

Add all the elements shared between case activity search and advanced search.

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

No description

static 
selectorReturnProperties()

Get the list of fields required to populate the selector.

static 
whereClauseSingleActivityText(array $values, CRM_Contact_BAO_Query $query)

Where/qill clause for notes

Details

at line 40
static select(CRM_Contact_BAO_Query $query)

Build select for Case.

Parameters

CRM_Contact_BAO_Query $query

at line 172
static where($query)

Given a list of conditions in query generate the required where clause.

Parameters

$query

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

Where clause for a single field.

Parameters

array $values
CRM_Contact_BAO_Query $query

Exceptions

CRM_Core_Exception

at line 406
static null|string from(string $name, $mode, $side)

Parameters

string $name
$mode
$side

Return Value

null|string

at line 467
static getSearchFieldMetadata()

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

at line 484
static buildSearchForm(CRM_Core_Form_Search $form)

Add all the elements shared between case activity search and advanced search.

Parameters

CRM_Core_Form_Search $form

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

Parameters

$mode
bool $includeCustomFields

Return Value

array|null

at line 655
static selectorReturnProperties()

Get the list of fields required to populate the selector.

The default return properties array returns far too many fields for 'everyday use. Every field you add to this array kills a small kitten so add carefully.

at line 684
static whereClauseSingleActivityText(array $values, CRM_Contact_BAO_Query $query)

Where/qill clause for notes

Parameters

array $values
CRM_Contact_BAO_Query $query

Exceptions

CRM_Core_Exception