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' ,
|
|
|
|
'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 18:37:25 +01:00
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|