Lines Matching refs:model
6 if ($this->model->get_level() < BEZ_AUTH_USER) {
15 $task = $this->model->taskFactory->get_one($this->get_param('tid'));
17 $this->tpl->set('task_comments', $this->model->task_commentFactory->get_from_task($task));
18 $this->tpl->set('task_programs', $this->model->task_programFactory->get_all([], 'name'));
23 $task_comment = $this->model->task_commentFactory->create_object(array('task' => $task));
24 $this->model->task_commentFactory->initial_save($task_comment, $_POST);
31 $task->set_participant_flags($this->model->user_nick, array('subscribent'));
36 $task->remove_participant_flags($this->model->user_nick, array('subscribent'));
45 $this->add_notification($this->model->userFactory->get_user_email($client), $this->getLang('invitation_has_been_send'));
52 $name = $this->model->userFactory->get_user_full_name($user_id);
59 $task_comment = $this->model->task_commentFactory->get_one($this->get_param('zkid'), array('task' => $task));
60 $this->model->task_commentFactory->delete($task_comment);
65 $task_comment = $this->model->task_commentFactory->get_one($this->get_param('zkid'), array('thread' => $thread));
70 $this->model->task_commentFactory->update_save($task_comment, $_POST);
80 $this->model->taskFactory->update_save($task, $_POST);
84 $this->model->taskFactory->delete($task);