/** * getPagesByCategory * @author Cornelius Hansjakob <*****@*****.**> * @version 1.0 */ public function getPagesByCategory() { try { $this->getModelPages(); $intCategoryId = $this->objGenericData->Setup()->getField('top_category')->getValue(); $intLabelId = $this->objGenericData->Setup()->getField('top_label')->getValue(); $intLimitNumber = $this->objGenericData->Setup()->getField('top_number')->getValue(); $intSortType = $this->objGenericData->Setup()->getField('top_sorttype')->getValue(); $intSortOrder = $this->objGenericData->Setup()->getField('top_sortorder')->getValue(); $objPages = $this->objModelPages->loadsByCategory($this->intRootLevelId, $intCategoryId, $intLabelId, $intLimitNumber, $intSortType, $intSortOrder); return $objPages; } catch (Exception $exc) { $this->core->logger->err($exc); } }