| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* The task array
*
* @var array
- * @static
*/
static $_tasks = NULL;
* The optional task array
*
* @var array
- * @static
*/
static $_optionalTasks = NULL;
* 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 &taskTitles() {
self::initTasks();
* of the user
*
* @param int $permission
- * @param bool $deletedContacts are these tasks for operating on deleted contacts?
+ * @param bool $deletedContacts
+ * Are these tasks for operating on deleted contacts?.
*
- * @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, $deletedContacts = FALSE) {
self::initTasks();
/**
* These tasks get added based on the context the user is in
*
- * @return array the set of optional tasks for a group of contacts
- * @static
+ * @return array
+ * the set of optional tasks for a group of contacts
*/
public static function &optionalTaskTitle() {
$tasks = array(
CRM_Utils_Array::value('result', self::$_tasks[$value]),
);
}
-}
+}