Lines Matching refs:thread_id
28 protected $thread_id, $thread_comment_id, $task_program_id;
64 if ($this->thread_id == null) {
67 if ($this->thread == null || $this->thread_id != $this->thread->id) {
68 $this->thread = $this->model->threadFactory->get_one($this->thread_id);
114 $this->thread_id = $this->thread->id;
138 if ($this->thread_id == '') {
177 if (isset($defaults['thread']) && $this->thread_id == $defaults['thread']->id) {
185 if ($this->thread_id == '') {
196 …($this->thread_id != '' && $this->__get('thread')->get_participant($this->model->user_nick) === fa…
261 if ($this->thread_id == '') {
324 … if ($this->thread_id != '' && $this->type != 'preventive' && $this->thread->state == 'closed') {
477 public function pin($thread_id) { argument
481 if ($this->thread_id != '') {
487 $r = $this->model->sqlite->query($q, $thread_id);
499 $this->model->sqlite->query($q, $thread_id, $this->id);
523 if ($this->thread_id != '') {
524 $ret .= '#'.$this->thread_id . ' ';