Lines Matching defs:task
107 /** @var bez\mdl\Task $task */
108 $task = $this->model->taskFactory->create_object($defaults);
109 $this->tpl->set('task_new', $task);
113 $this->model->taskFactory->initial_save($task, $_POST);
115 $anchor = 'z' . $task->id;
119 /** @var bez\mdl\Task $task */
120 $task = $this->model->taskFactory->get_one($this->get_param('tid'), array('thread' => $thread));
121 $this->tpl->set('task', $task);
125 $this->tpl->set_values($task->get_assoc());
127 $this->model->taskFactory->update_save($task, $_POST);
129 $anchor = 'z' . $task->id;
133 /** @var bez\mdl\Task $task */
134 $task = $this->model->taskFactory->get_one($this->get_param('tid'), array('thread' => $thread));
135 $this->model->taskFactory->delete($task);