Lines Matching refs:model
12 $r = $this->model->sqlite->query($q, $token);
13 return $this->model->sqlite->res2single($r);
24 $this->model->sqlite->query($q, $user_id);
27 if ($this->model->get_level() < BEZ_AUTH_USER) {
31 $this->model->sqlite->query($q, $this->model->user_nick);
37 if ($this->model->get_level() < BEZ_AUTH_USER) {
41 $this->model->sqlite->query($q, $this->model->user_nick);
45 if ($this->model->get_level() < BEZ_AUTH_USER) {
50 $r = $this->model->sqlite->query($q, $this->model->user_nick);
51 $mute = $this->model->sqlite->res2single($r);
60 if ($this->model->get_level() < BEZ_AUTH_USER) {
63 if (!$user) $user = $this->model->user_nick;
66 $r = $this->model->sqlite->query($q, $user);
67 $token = $this->model->sqlite->res2single($r);
70 $this->model->sqlite->storeEntry($this->get_table_name(),
80 $r = $this->model->sqlite->query($q);
83 }, $this->model->sqlite->res2arr($r));