CRM-15732 : fix looking up deleted 'On behalf' orgs
[civicrm-core.git] / CRM / Contact / Task.php
index 5c7f45be679da9118bd8bc14f7f3826fb1c0c4f2..d4aeb9bf4b11312e5ef49f15cc928a920a73a375 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -67,7 +67,7 @@ class CRM_Contact_Task {
     COMMUNICATION_PREFS = 25;
 
   /**
-   * the task array
+   * The task array
    *
    * @var array
    * @static
@@ -75,7 +75,7 @@ class CRM_Contact_Task {
   static $_tasks = NULL;
 
   /**
-   * the optional task array
+   * The optional task array
    *
    * @var array
    * @static
@@ -310,7 +310,7 @@ class CRM_Contact_Task {
   }
 
   /**
-   * show tasks selectively based on the permission level
+   * Show tasks selectively based on the permission level
    * of the user
    *
    * @param int $permission
@@ -369,6 +369,11 @@ class CRM_Contact_Task {
     return $tasks;
   }
 
+  /**
+   * @param $value
+   *
+   * @return array
+   */
   static function getTask($value) {
     self::initTasks();