Lines Matching defs:task
14 /** @var bez\mdl\Task $task */
15 $task = $this->model->taskFactory->get_one($this->get_param('tid'));
16 $this->tpl->set('task', $task);
17 $this->tpl->set('task_comments', $this->model->task_commentFactory->get_from_task($task));
23 $task_comment = $this->model->task_commentFactory->create_object(array('task' => $task));
31 $task->set_participant_flags($this->model->user_nick, array('subscribent'));
36 $task->remove_participant_flags($this->model->user_nick, array('subscribent'));
44 $task->invite($client);
50 $task->remove_participant($user_id);
59 $task_comment = $this->model->task_commentFactory->get_one($this->get_param('zkid'), array('task' => $task));
78 $this->tpl->set_values($task->get_assoc());
80 $this->model->taskFactory->update_save($task, $_POST);
84 $this->model->taskFactory->delete($task);
85 if ($task->thread_id != '') {
86 header('Location: ' . $this->url('thread', 'id', $task->thread_id));
92 $task->pin($thread_id);
95 $task->unpin();
106 header("Location: " . $this->url('task', 'tid', $task->id) . $anchor);