CRM_Campaign_Task
class CRM_Campaign_Task extends CRM_Core_Task
class to represent the actions that can be performed on a group of voters.
Used by the search forms.
Constants
GROUP_REMOVE |
These constants are only used as enumerators for each of the batch tasks. |
GROUP_ADD |
These constants are only used as enumerators for each of the batch tasks. |
PDF_LETTER |
These constants are only used as enumerators for each of the batch tasks. |
TASK_DELETE |
These constants are only used as enumerators for each of the batch tasks. |
TASK_PRINT |
These constants are only used as enumerators for each of the batch tasks. |
BATCH_UPDATE |
These constants are only used as enumerators for each of the batch tasks. |
TASK_SMS |
These constants are only used as enumerators for each of the batch tasks. |
TASK_EXPORT |
These constants are only used as enumerators for each of the batch tasks. |
TASK_EMAIL |
These constants are only used as enumerators for each of the batch tasks. |
TAG_ADD |
These constants are only used as enumerators for each of the batch tasks. |
TAG_REMOVE |
These constants are only used as enumerators for each of the batch tasks. |
SAVE_SEARCH |
These constants are only used as enumerators for each of the batch tasks. |
SAVE_SEARCH_UPDATE |
These constants are only used as enumerators for each of the batch tasks. |
CREATE_MAILING |
These constants are only used as enumerators for each of the batch tasks. |
DELETE_PERMANENTLY |
These constants are only used as enumerators for each of the batch tasks. |
LABEL_CONTACTS |
These constants are only used as enumerators for each of the batch tasks. |
INTERVIEW |
Campaign tasks |
RESERVE |
Campaign tasks |
RELEASE |
Campaign tasks |
Properties
static array | $_tasks | The task array | from CRM_Core_Task |
static string | $objectType |
Methods
These tasks are the core set of tasks that the user can perform on a voter / group of voters
These tasks are the core set of tasks that the user can perform on a contact / group of contacts
Show tasks selectively based on the permission level of the user
Show tasks selectively based on the permission level of the user This function should be called by permissionedTaskTitles in children
These tasks are the core set of tasks that the user can perform on voters.
Function to return the task information on basis of provided task's form name
Details
at line 61
static
tasks()
These tasks are the core set of tasks that the user can perform on a voter / group of voters
in CRM_Core_Task at line 98
static array
taskTitles()
These tasks are the core set of tasks that the user can perform on a contact / group of contacts
at line 109
static array
permissionedTaskTitles(int $permission, array $params = [])
Show tasks selectively based on the permission level of the user
in CRM_Core_Task at line 149
static array
corePermissionedTaskTitles(array $tasks, int $permission, array $params)
Show tasks selectively based on the permission level of the user This function should be called by permissionedTaskTitles in children
at line 125
static array
getTask(int $value)
These tasks are the core set of tasks that the user can perform on voters.
in CRM_Core_Task at line 191
static array
getTaskAndTitleByClass(string $className)
Function to return the task information on basis of provided task's form name