Exemple #1
0
 /**
  * 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.
  */
 public static function &tasks()
 {
     if (!self::$_tasks) {
         self::$_tasks = array(1 => array('title' => ts('Print Mailing Recipients'), 'class' => 'CRM_Mailing_Form_Task_Print', 'result' => FALSE));
         CRM_Utils_Hook::searchTasks('mailing', self::$_tasks);
         asort(self::$_tasks);
     }
     return self::$_tasks;
 }