class CRM_Event_Task

class to represent the actions that can be performed on a group of contacts used by the search forms

Constants

DELETE_EVENTS

PRINT_EVENTS

EXPORT_EVENTS

BATCH_EVENTS

CANCEL_REGISTRATION

EMAIL_CONTACTS

SAVE_SEARCH

SAVE_SEARCH_UPDATE

PARTICIPANT_STATUS

LABEL_CONTACTS

GROUP_CONTACTS

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 for participants

static array
optionalTaskTitle()

These tasks get added based on the context the user is in.

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 participants

Details

at line 69
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 162
static array taskTitles()

These tasks are the core set of task titles for participants

Return Value

array the set of task titles

at line 180
static array optionalTaskTitle()

These tasks get added based on the context the user is in.

Return Value

array the set of optional tasks for a group of contacts

at line 196
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 226
static array getTask(int $value)

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

Parameters

int $value

Return Value

array the set of tasks for a group of participants