/** * 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); } }