class CRM_Contact_Form_Search_Custom_PriceSet extends CRM_Contact_Form_Search_Custom_Base implements CRM_Contact_Form_Search_Interface

Properties

protected $_formValues from CRM_Contact_Form_Search_Custom_Base
protected $_columns from CRM_Contact_Form_Search_Custom_Base
protected $_stateID from CRM_Contact_Form_Search_Custom_Base
protected $_eventID
protected $_aclFrom
protected $_aclWhere
protected $_tableName
$_permissionedComponent

Methods

__construct(array $formValues)

Class constructor.

array
buildTaskList( $form)

Builds the list of tasks or actions that a searcher can perform on a result set.

null|string
count()

No description

null
summary()

No description

string
contactIDs(int $offset, int $rowcount, null $sort = NULL, bool $returnSQL = FALSE)

No description

string
sql($selectClause, int $offset, int $rowcount, null $sort = NULL, bool $includeContactIDs = FALSE, null $groupBy = NULL)

No description

null
templateFile()

No description

static 
includeContactIDs($sql, $formValues)

No description

addSortOffset($sql, $offset, $rowcount, $sort)

No description

validateUserSQL($sql, bool $onlyWhere = FALSE)

No description

string
whereClause($where, array $params)

No description

null
getQueryObj()

override this method to define the contact query object used for creating $sql

setTitle(string $title)

No description

__destruct()

No description

buildTempTable()

No description

fillTable()

No description

Object
priceSetDAO(int $eventID = NULL)

No description

buildForm(CRM_Core_Form $form)

No description

setColumns()

No description

all(int $offset, int $rowcount, null $sort = NULL, bool $includeContactIDs = FALSE, bool $justIDs = FALSE)

No description

from()

No description

where(bool $includeContactIDs = FALSE)

No description

alterRow($row)

No description

buildACLClause(string $tableAlias = 'contact')

No description

Details

at line 46
__construct(array $formValues)

Class constructor.

Parameters

array $formValues

array buildTaskList( $form)

Builds the list of tasks or actions that a searcher can perform on a result set.

The returned array completely replaces the task list, so a child class that wants to modify the existing list should manipulate the result of this method.

Parameters

$form

Return Value

array

null|string count()

Return Value

null|string

at line 267
null summary()

Return Value

null

string contactIDs(int $offset, int $rowcount, null $sort = NULL, bool $returnSQL = FALSE)

Parameters

int $offset
int $rowcount
null $sort
bool $returnSQL

Return Value

string

string sql($selectClause, int $offset, int $rowcount, null $sort = NULL, bool $includeContactIDs = FALSE, null $groupBy = NULL)

Parameters

$selectClause
int $offset
int $rowcount
null $sort
bool $includeContactIDs
null $groupBy

Return Value

string

at line 337
null templateFile()

Return Value

null

columns()

static includeContactIDs($sql, $formValues)

Parameters

$sql
$formValues

addSortOffset($sql, $offset, $rowcount, $sort)

Parameters

$sql
$offset
$rowcount
$sort

validateUserSQL($sql, bool $onlyWhere = FALSE)

Parameters

$sql
bool $onlyWhere

Exceptions

Exception

string whereClause($where, array $params)

Parameters

$where
array $params

Return Value

string

null getQueryObj()

override this method to define the contact query object used for creating $sql

Return Value

null

at line 350
setTitle(string $title)

Parameters

string $title

at line 64
__destruct()

at line 73
buildTempTable()

at line 103
fillTable()

at line 163
Object priceSetDAO(int $eventID = NULL)

Parameters

int $eventID

Return Value

Object

at line 194
buildForm(CRM_Core_Form $form)

Parameters

CRM_Core_Form $form

Exceptions

Exception

at line 225
setColumns()

at line 280
all(int $offset, int $rowcount, null $sort = NULL, bool $includeContactIDs = FALSE, bool $justIDs = FALSE)

Parameters

int $offset
int $rowcount
null $sort
bool $includeContactIDs
bool $justIDs

at line 312
from()

at line 326
where(bool $includeContactIDs = FALSE)

Parameters

bool $includeContactIDs

at line 344
alterRow($row)

Parameters

$row

at line 362
buildACLClause(string $tableAlias = 'contact')

Parameters

string $tableAlias