class CRM_Contribute_Task

Class to represent the actions that can be performed on a group of contacts.

Used by the search forms.

Constants

DELETE_CONTRIBUTIONS

PRINT_CONTRIBUTIONS

EXPORT_CONTRIBUTIONS

BATCH_CONTRIBUTIONS

EMAIL_CONTACTS

UPDATE_STATUS

PDF_RECEIPT

Properties

static array $_tasks The task array
static array $_optionalTasks The optional task array

Methods

static array
tasks()

These tasks are the core set of tasks that the user can perform on a contact / group of contacts

static array
taskTitles()

These tasks are the core set of task titles on contributors

static array
permissionedTaskTitles(int $permission, bool $softCreditFiltering = FALSE)

Show tasks selectively based on the permission level of the user

static array
getTask(int $value)

These tasks are the core set of tasks that the user can perform on contributors

Details

at line 63
static array tasks()

These tasks are the core set of tasks that the user can perform on a contact / group of contacts

Return Value

array the set of tasks for a group of contacts

at line 149
static array taskTitles()

These tasks are the core set of task titles on contributors

Return Value

array the set of task titles

at line 169
static array permissionedTaskTitles(int $permission, bool $softCreditFiltering = FALSE)

Show tasks selectively based on the permission level of the user

Parameters

int $permission
bool $softCreditFiltering

Return Value

array set of tasks that are valid for the user

at line 203
static array getTask(int $value)

These tasks are the core set of tasks that the user can perform on contributors

Parameters

int $value

Return Value

array the set of tasks for a group of contributors