Lines Matching refs:thread
35 public function get_from_thread(Thread $thread) {
36 $tasks = $this->model->taskFactory->get_all(array('thread_id' => $thread->id),
37 'thread_comment_id', false, array('thread' => $thread));
52 public function get_with_closing_comment($thread) {
60 $stmt = $this->model->sqlite->query($sql, $thread->id);
66 public function get_by_type($thread) {
67 $stmt = $this->get_with_closing_comment($thread);
156 $task->thread->set_participant_flags($task->assignee, array('subscribent', 'task_assignee'));
157 $task->thread->update_last_activity();
167 $task->thread->mail_notify_task_added($task);
189 $task->thread->remove_participant_flags($prev_assignee, array('task_assignee'));
191 $task->thread->set_participant_flags($task->assignee, array('subscribent', 'task_assignee'));