public function readData()
 {
     parent::readData();
     $this->title = WCF::getLanguage()->get('cms.page.news');
     $this->items = new NewsFeedList($this->objectIDs);
     $this->items->sqlLimit = $this->itemsPerPage;
     $this->items->readObjects();
     if (count($this->objectIDs) === 1) {
         $this->title = CategoryHandler::getInstance()->getCategory(reset($this->objectIDs))->getTitle();
     }
 }
 /**
  * @see	\wcf\page\IPage::readData()
  */
 public function readData()
 {
     parent::readData();
     $this->items = new FeedConversationList();
     $this->items->getConditionBuilder()->add('conversation_to_user.participantID = ?', array(WCF::getUser()->userID));
     $this->items->getConditionBuilder()->add('conversation_to_user.hideConversation = ?', array(0));
     $this->items->sqlConditionJoins = "LEFT JOIN wcf" . WCF_N . "_conversation conversation ON (conversation.conversationID = conversation_to_user.conversationID)";
     $this->items->sqlLimit = 20;
     $this->items->readObjects();
     $this->title = WCF::getLanguage()->get('wcf.conversation.conversations');
 }
 /**
  * @see	\wcf\page\IPage::readData()
  */
 public function readData()
 {
     parent::readData();
     $this->title = WCF::getLanguage()->get('news.header.menu.news');
     // read the news entries
     $this->items = new NewsFeedList($this->objectIDs);
     $this->items->sqlLimit = $this->itemsPerPage;
     $this->items->readObjects();
     // set the page title
     if (count($this->objectIDs) === 1) {
         $this->title = CategoryHandler::getInstance()->getCategory(reset($this->objectIDs))->getTitle();
     }
 }
 /**
  * @see	\wcf\page\IPage::readData()
  */
 public function readData()
 {
     parent::readData();
     // read the entries
     $this->items = new FeedEntryList($this->objectIDs);
     $this->items->sqlLimit = 20;
     $this->items->readObjects();
     // set title
     if (count($this->objectIDs) === 1) {
         $this->title = CategoryHandler::getInstance()->getCategory(reset($this->objectIDs))->getTitle() . ' - ' . WCF::getLanguage()->get('filebase.header.menu.filebase');
     } else {
         $this->title = WCF::getLanguage()->get('filebase.header.menu.filebase');
     }
 }