Lines Matching refs:model
14 $r = $this->model->sqlite->query('SELECT create_date FROM thread ORDER BY id LIMIT 1');
15 $date = $this->model->sqlite->res2single($r);
42 $r = $this->model->sqlite->query($sql, $from, $to);
53 $r = $this->model->sqlite->query($sql);
66 $r = $this->model->sqlite->query($sql, $from, $to);
71 $r = $this->model->sqlite->query($sql);
90 $r = $this->model->sqlite->query($sql, $from, $to, $from, $to);
97 $r = $this->model->sqlite->query($sql);
100 $wiki_users = count($this->model->userFactory->get_all());
128 $r = $this->model->sqlite->query($sql, $from, $to);
147 $r = $this->model->sqlite->query($sql);
172 $r = $this->model->sqlite->query($sql, $from, $to);
189 $r = $this->model->sqlite->query($sql);
213 if ($this->model->get_level() >= BEZ_AUTH_LEADER) {
223 if ($thread->state != 'proposal' && $this->model->user_nick != $thread->coordinator) {
294 if ($thread->state != 'proposal' && $this->model->user_nick != $thread->coordinator) {
301 $this->model->sqlite->query('DELETE FROM thread_label WHERE thread_id=?', $obj->id);
302 $this->model->sqlite->query('DELETE FROM thread_participant WHERE thread_id=?', $obj->id);