Lines Matching refs:model
6 if ($this->model->get_level() < BEZ_AUTH_USER) {
11 if ($this->model->get_level() >= BEZ_AUTH_ADMIN && isset($_POST['action']) && isset($_POST['task_id'])) {
14 $task = $this->model->taskFactory->get_one($id);
15 $this->model->taskFactory->delete($task);
19 $task = $this->model->taskFactory->get_one($id);
21 $this->model->taskFactory->save($task);
54 $years = $this->model->taskFactory->get_years_scope();
87 $db_filters['original_poster'] = array('OR', $this->model->userFactory->users_of_group($group));
93 $db_filters['assignee'] = array('OR', $this->model->userFactory->users_of_group($group));
103 $tasks = $this->model->taskFactory->get_all($db_filters, $orderby);
105 $this->tpl->set('task_programs', $this->model->task_programFactory->get_all([], 'name')->fetchAll());