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' ,
|
|
|
|
'notes/edit' => 'edit_note_form' ,
|
|
|
|
'notes/delete' => 'delete_note_form' ,
|
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' ,
|
2012-02-05 18:37:25 +01:00
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|