Lines Matching refs:model
6 if ($this->model->get_level() < BEZ_AUTH_USER) {
48 $threads = $this->model->threadFactory->get_all($filter, 'create_date DESC');
49 $thread_comments = $this->model->thread_commentFactory->get_all($filter, 'create_date DESC');
50 $tasks = $this->model->taskFactory->get_all($filter, 'create_date DESC');
51 $task_comments = $this->model->task_commentFactory->get_all($filter, 'create_date DESC');
107 $proposals = $this->model->threadFactory->get_all($filter, $orderby);
109 $this->tpl->set('proposals_count', $this->model->threadFactory->count($filter));
112 $filter = array('state' => 'opened', 'coordinator' => $this->model->user_nick);
113 $my_threads = $this->model->threadFactory->get_all($filter, $orderby);
115 $this->tpl->set('my_threads_count', $this->model->threadFactory->count($filter));
118 $filter = array('state' => 'opened', 'assignee' => $this->model->user_nick);
119 $my_tasks = $this->model->taskFactory->get_all($filter, $orderby);
121 $this->tpl->set('my_tasks_count', $this->model->taskFactory->count($filter));
124 $filter = array('state' => 'opened', 'original_poster' => $this->model->user_nick);
125 $reported_threads = $this->model->threadFactory->get_all($filter, $orderby);
127 $this->tpl->set('reported_threads_count', $this->model->threadFactory->count($filter));
130 $filter = array('state' => 'opened', 'original_poster' => $this->model->user_nick);
131 $reported_tasks = $this->model->taskFactory->get_all($filter, $orderby);
133 $this->tpl->set('reported_tasks_count', $this->model->taskFactory->count($filter));