Lines Matching refs:task
238 public function updateTask(Task $task) argument
245 if ($tasks[$i]->id == $task->id) {
246 $tasks[$i] = $task;
253 return $task;
280 foreach ($tasks as &$task) {
281 if ($task->parent == $parentId) {
282 $deleteChildren($task->id);
283 $deleteLinks($task->id);
284 $task = null;
301 public function addTask(Task $task) argument
305 $task->id = $database->increment->task++;
306 $database->gantt->data[] = $task;
310 return $task;