Example #1
0
 public function __construct($startStamp, $userId, $count)
 {
     parent::__construct();
     $this->userId = $userId;
     $this->uniqId = uniqid('questionList');
     $this->startStamp = (int) $startStamp;
     $this->count = $count;
     $this->service = QUESTIONS_BOL_FeedService::getInstance();
     $template = OW::getPluginManager()->getPlugin('questions')->getCmpViewDir() . 'feed.html';
     $this->setTemplate($template);
     $this->order = $this->service->getDefaultOrder();
     $this->feedType = self::FEED_ALL;
     QUESTIONS_Plugin::getInstance()->addStatic();
 }