Merge pull request #7050 from saurabhbatra96/comment-fixes-extension
[civicrm-core.git] / CRM / Campaign / Task.php
index a453dee24ae5dd45808b5ede4c8db2877f00fd7b..914c2df17f84374fc00189f9ea96d089626cd55e 100755 (executable)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | 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
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2015
  */
 
 /**
- * class to represent the actions that can be performed on a
- * group of voters.
- * used by the search forms
+ * class to represent the actions that can be performed on a group of voters.
  *
+ * Used by the search forms.
  */
 class CRM_Campaign_Task {
   const INTERVIEW = 1, RESERVE = 2, RELEASE = 3, PRINT_VOTERS = 4;
@@ -46,7 +43,6 @@ class CRM_Campaign_Task {
    * The task array
    *
    * @var array
-   * @static
    */
   static $_tasks = NULL;
 
@@ -54,7 +50,6 @@ class CRM_Campaign_Task {
    * The optional task array
    *
    * @var array
-   * @static
    */
   static $_optionalTasks = NULL;
 
@@ -64,7 +59,6 @@ class CRM_Campaign_Task {
    *
    * @return array
    *   the set of tasks for a group of voters.
-   * @static
    */
   public static function &tasks() {
     if (!(self::$_tasks)) {
@@ -112,7 +106,6 @@ class CRM_Campaign_Task {
    *
    * @return array
    *   the set of task titles
-   * @static
    */
   public static function &taskTitles() {
     self::tasks();
@@ -147,7 +140,6 @@ class CRM_Campaign_Task {
    *
    * @return array
    *   the set of tasks for a group of voters.
-   * @static
    */
   public static function getTask($value) {
     self::tasks();
@@ -161,4 +153,5 @@ class CRM_Campaign_Task {
       self::$_tasks[$value]['result'],
     );
   }
+
 }