class CRM_Campaign_Task

class to represent the actions that can be performed on a group of voters.

Used by the search forms.

Constants

INTERVIEW

RESERVE

RELEASE

PRINT_VOTERS

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 voter / group of voters

static array
taskTitles()

These tasks are the core set of task titles on voters.

static array
permissionedTaskTitles(int $permission)

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 voters.

Details

at line 63
static array tasks()

These tasks are the core set of tasks that the user can perform on a voter / group of voters

Return Value

array the set of tasks for a group of voters.

at line 109
static array taskTitles()

These tasks are the core set of task titles on voters.

Return Value

array the set of task titles

at line 128
static array permissionedTaskTitles(int $permission)

Show tasks selectively based on the permission level of the user

Parameters

int $permission

Return Value

array set of tasks that are valid for the user

at line 143
static array getTask(int $value)

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

Parameters

int $value

Return Value

array the set of tasks for a group of voters.