X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FTask.php;h=82afc9194757d4779e15441f8e4acfa215b1aaf4;hb=90e32c05e671eef87b4e839d507a87102f75cec7;hp=9e8542e103b51da96d074d1dc6851bd433d8fcfc;hpb=5ee1bf7c6350f9da1550112ccf8438b9549cecd9;p=civicrm-core.git diff --git a/CRM/Event/Task.php b/CRM/Event/Task.php index 9e8542e103..82afc91947 100644 --- a/CRM/Event/Task.php +++ b/CRM/Event/Task.php @@ -38,22 +38,28 @@ */ class CRM_Event_Task extends CRM_Core_Task { + /** + * Event tasks + */ const - // Event tasks CANCEL_REGISTRATION = 301, PARTICIPANT_STATUS = 302; - static $objectType = 'event'; + /** + * @var string + */ + public static $objectType = 'event'; /** * 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 - * [ 'title' => The Task title, - * 'class' => The Task Form class name, - * 'result => Boolean. FIXME: Not sure what this is for - * ] + * @return array + * The set of tasks for a group of contacts + * [ 'title' => The Task title, + * 'class' => The Task Form class name, + * 'result => Boolean. FIXME: Not sure what this is for + * ] */ public static function tasks() { if (!self::$_tasks) {