taskEdit ( task = NULL  ) 

Edit a task

Some notes on assigning persons

Passing this information is tricky because:

  • multiple persons could be assigned to a task
  • task-assignments for new tasks can't be stored to database until the task has finally been validated and stored itself. Therefore this information has to be passed in hiddenfields named "task_assign_to_#" whereas # is an integer counting up from 0.
  • additionally all persons have to be checked for visibility and if they are already assigned to this task.

To automatically assign new tasks to persons there are two possibilites: 1. pass 'task_assign_to_#" - parameters 2. pass 'parent_task' - parameter which is been assigned to a person

The first options beats the second.

note: if task is visible ignore visibility of issue report

to reduce spam, enforce captcha test for guests

Definition at line 267 of file task_more.inc.php.

References $PH, exit, Task::getAll(), Issue::getById(), Issue::getCreatedRecently(), Task::getEditableById(), Person::getVisibleById(), Task::getVisibleById(), Project::getVisibleById(), and taskEditSubmit().

Referenced by ListBlock_versions::__construct(), ListBlock_tasks::__construct(), ListBlock_taskfolders::__construct(), ListBlock_milestones::__construct(), home(), TaskAddIssueReport(), TaskEditMultiple(), taskEditSubmit(), TaskNew(), TaskNewFolder(), TaskNewMilestone(), TaskNewVersion(), TaskView(), and taskViewAsDocu().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Sun Mar 4 17:19:45 2007 for streber by  doxygen 1.5.1-p1