* The task array
*
* @var array
- * @static
*/
static $_tasks = NULL;
* The optional task array
*
* @var array
- * @static
*/
static $_optionalTasks = NULL;
*
* @return array
* the set of tasks for a group of contacts
- * @static
*/
public static function &tasks() {
if (!(self::$_tasks)) {
self::$_tasks = array(
- 1 => array(
- 'title' => ts('Delete Grants'),
+ 1 => array(
+ 'title' => ts('Delete Grants'),
'class' => 'CRM_Grant_Form_Task_Delete',
'result' => FALSE,
),
*
* @return array
* the set of task titles
- * @static
*/
public static function &taskTitles() {
self::tasks();
*
* @return array
* the set of tasks for a group of contacts
- * @static
*/
public static function getTask($value) {
self::tasks();