Lines Matching refs:thread
13 public function get_from_thread(Thread $thread, $filters=array(), $orderby='', $limit=false) {
14 $filters['thread_id'] = $thread->id;
15 return $this->get_all($filters, $orderby, array('thread' => $thread), $limit);
32 $thread_comment->thread->set_participant_flags($thread_comment->author, array('subscribent', 'commentator'));
37 $thread_comment->thread->set_state('closed');
40 $thread_comment->thread->set_state('rejected');
43 $thread_comment->thread->set_state('opened');
47 $thread_comment->thread->update_last_activity();
54 $thread_comment->thread->mail_notify_change_state($notify);
82 $thread_comment->thread->update_last_activity();
100 $obj->thread->update_last_activity();
103 $obj->thread->remove_participant_flags($obj->author, array('commentator'));