CRM-16666 - Custom participant statuses do not print in email confirmation
[civicrm-core.git] / CRM / Mailing / Task.php
index 1c60880a26cf4622fc58bce35ec61cc0b472d982..1f80c156a9b61c1a49f5f138c749e5f5e917096f 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
  * $Id$
  *
  */
@@ -43,7 +43,6 @@ class CRM_Mailing_Task {
    * The task array
    *
    * @var array
-   * @static
    */
   static $_tasks = NULL;
 
@@ -51,7 +50,6 @@ class CRM_Mailing_Task {
    * The optional task array
    *
    * @var array
-   * @static
    */
   static $_optionalTasks = NULL;
 
@@ -59,8 +57,8 @@ class CRM_Mailing_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 &tasks() {
     if (!(self::$_tasks)) {
@@ -83,8 +81,8 @@ class CRM_Mailing_Task {
    * These tasks are the core set of task titles
    * on mailing recipients
    *
-   * @return array the set of task titles
-   * @static
+   * @return array
+   *   the set of task titles
    */
   public static function &taskTitles() {
     return array();
@@ -96,7 +94,8 @@ class CRM_Mailing_Task {
    *
    * @param int $permission
    *
-   * @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) {
     $task = array();
@@ -104,13 +103,13 @@ class CRM_Mailing_Task {
   }
 
   /**
-   * These tasks are the core set of tasks that the user can perform
+   * These tasks are the core set of tasks that the user can perform.
    * on mailing recipients
    *
    * @param int $value
    *
-   * @return array the set of tasks for a group of mailing recipients
-   * @static
+   * @return array
+   *   the set of tasks for a group of mailing recipients
    */
   public static function getTask($value) {
     self::tasks();
@@ -123,4 +122,5 @@ class CRM_Mailing_Task {
       self::$_tasks[$value]['result'],
     );
   }
+
 }