Lines Matching refs:q
11 $q = "SELECT user_id FROM {$this->get_table_name()} WHERE token=?";
12 $r = $this->model->sqlite->query($q, $token);
23 $q = "UPDATE {$this->get_table_name()} SET mute=1 WHERE user_id=?";
24 $this->model->sqlite->query($q, $user_id);
30 $q = "UPDATE {$this->get_table_name()} SET mute=1 WHERE user_id=?";
31 $this->model->sqlite->query($q, $this->model->user_nick);
40 $q = "UPDATE {$this->get_table_name()} SET mute=0 WHERE user_id=?";
41 $this->model->sqlite->query($q, $this->model->user_nick);
49 $q = "SELECT mute FROM {$this->get_table_name()} WHERE user_id=?";
50 $r = $this->model->sqlite->query($q, $this->model->user_nick);
65 $q = "SELECT token FROM {$this->get_table_name()} WHERE user_id=?";
66 $r = $this->model->sqlite->query($q, $user);
79 $q = "SELECT user_id FROM {$this->get_table_name()} WHERE mute=1";
80 $r = $this->model->sqlite->query($q);