/**
  * Creates a new FeedThread object.
  */
 public function __construct($data)
 {
     parent::__construct(null, $data);
     if ($data['postID']) {
         require_once WBB_DIR . 'lib/data/post/ViewablePost.class.php';
         $this->post = new ViewablePost(null, $data);
     }
 }
 /**
  * @see ViewableThread::handleData()
  */
 protected function handleData($data)
 {
     parent::handleData($data);
     // get user
     $this->user = new User(null, array('userID' => $this->userID, 'username' => $this->username));
 }
 /**
  * Reads the tags of this thread.
  */
 protected function readTags()
 {
     $this->tags = $this->thread->getTags(WCF::getSession()->getVisibleLanguageIDArray());
 }