CRM_Report_BAO_Hook
in package
Report hooks that allow extending a particular report.
Example: Adding new tables to log reports
Table of Contents
Properties
- $_queryObjects : array<string|int, CRM_Report_BAO_HookInterface>
Methods
- alterLogTables() : mixed
- getSearchQueryObjects() : array<string|int, mixed>
- Get or build the list of search objects (via hook)
- logDiffClause() : array<string|int, mixed>
- singleton() : object
- Singleton function used to manage this object.
Properties
$_queryObjects
protected
array<string|int, CRM_Report_BAO_HookInterface>
$_queryObjects
= \NULL
Methods
alterLogTables()
public
alterLogTables(mixed &$reportObj, mixed &$logTables) : mixed
Parameters
- $reportObj : mixed
- $logTables : mixed
getSearchQueryObjects()
Get or build the list of search objects (via hook)
public
getSearchQueryObjects() : array<string|int, mixed>
Return values
array<string|int, mixed> —Array of CRM_Report_BAO_Hook_Interface objects
logDiffClause()
public
logDiffClause(mixed &$reportObj, string $table) : array<string|int, mixed>
Parameters
- $reportObj : mixed
- $table : string
Return values
array<string|int, mixed>singleton()
Singleton function used to manage this object.
public
static singleton() : object