X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FTask.php;h=4caa253392ff2f58a4bd808218e54907e2deda21;hb=c8881afb8c9973a27e206296e8eceddae8f33855;hp=6a9204ea0ba65370ec6dba2fa2284305135e0d96;hpb=af321125666c7444accea956adaad22395fcd4c9;p=civicrm-core.git diff --git a/CRM/Contact/Task.php b/CRM/Contact/Task.php index 6a9204ea0b..4caa253392 100644 --- a/CRM/Contact/Task.php +++ b/CRM/Contact/Task.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * @@ -70,7 +70,6 @@ class CRM_Contact_Task { * The task array * * @var array - * @static */ static $_tasks = NULL; @@ -78,7 +77,6 @@ class CRM_Contact_Task { * The optional task array * * @var array - * @static */ static $_optionalTasks = NULL; @@ -279,8 +277,8 @@ class CRM_Contact_Task { * These tasks are the core set of tasks that the user can perform * on a contact / group of contacts * - * @return array the set of tasks for a group of contacts - * @static + * @return array + * the set of tasks for a group of contacts */ public static function &taskTitles() { self::initTasks(); @@ -316,7 +314,8 @@ class CRM_Contact_Task { * @param bool $deletedContacts * Are these tasks for operating on deleted contacts?. * - * @return array set of tasks that are valid for the user + * @return array + * set of tasks that are valid for the user */ public static function &permissionedTaskTitles($permission, $deletedContacts = FALSE) { self::initTasks(); @@ -357,8 +356,8 @@ class CRM_Contact_Task { /** * These tasks get added based on the context the user is in * - * @return array the set of optional tasks for a group of contacts - * @static + * @return array + * the set of optional tasks for a group of contacts */ public static function &optionalTaskTitle() { $tasks = array( @@ -384,4 +383,5 @@ class CRM_Contact_Task { CRM_Utils_Array::value('result', self::$_tasks[$value]), ); } + }