2012-02-05 18:37:25 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
class Page_TasksTasks
|
|
|
|
extends AuthenticatedPage
|
|
|
|
{
|
|
|
|
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
parent::__construct( array(
|
|
|
|
'' => 'all_tasks' ,
|
|
|
|
'add' => 'add_task_form' ,
|
2012-02-06 16:38:11 +01:00
|
|
|
'claim' => 'task_claim' ,
|
2012-02-05 18:37:25 +01:00
|
|
|
'delete' => 'delete_task_form' ,
|
|
|
|
'edit' => 'edit_task_form' ,
|
|
|
|
'finish' => array( 'toggle_task' , false ) ,
|
|
|
|
'restart' => array( 'toggle_task' , true ) ,
|
|
|
|
'view' => 'view_task' ,
|
2012-02-05 20:55:09 +01:00
|
|
|
'deps/add' => 'dependency_add_form' ,
|
2012-02-05 21:22:06 +01:00
|
|
|
'deps/delete' => 'dependency_delete_form' ,
|
2016-01-03 09:54:47 +01:00
|
|
|
'move' => 'task_move' ,
|
2012-02-09 18:50:54 +01:00
|
|
|
'move/down' => 'task_move_down' ,
|
|
|
|
'move/up' => 'task_move_up' ,
|
|
|
|
'notes/edit' => 'edit_note_form' ,
|
|
|
|
'notes/delete' => 'delete_note_form' ,
|
2012-02-05 18:37:25 +01:00
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|