/** * @see Page::readData(); */ public function readData() { parent::readData(); if ($this->tagObj) { // get tagged objects if ($this->taggableID == 0) { // get objects for overview $this->taggedObjects = TagEngine::getInstance()->getGroupedTaggedObjectsByTagID($this->tagObj->getID()); } else { $this->taggedObjects = $this->taggable->getObjectsByTagID($this->tagObj->getID(), $this->itemsPerPage, ($this->pageNo - 1) * $this->itemsPerPage); } } // get tags $tagCloud = new TagCloud(WCF::getSession()->getVisibleLanguageIDArray()); $this->tags = $tagCloud->getTags($this->tagObj !== null ? 50 : 500); }