/** * getOverviewPages * @param integer $intCategoryId * @param integer $intEntryNumber * @param integer $intSortType * @param integer $intSortOrder * @param integer $intEntryDepth * @param array $arrPageIds * @param boolean $blnOnlyPages load only pages (items), no start elements * @param boolean $blnOnlyShowInNavigation load only pages (items) with property "showInNavigation" * @author Cornelius Hansjakob <*****@*****.**> * @version 1.0 */ public function getOverviewPages($intCategoryId, $intLabelId, $intEntryNumber, $intSortType, $intSortOrder, $intEntryDepth, $arrPageIds, $blnOnlyPages = false, $blnOnlyShowInNavigation = false) { try { $this->getModel(); if ($this->intNavParentId !== null && $this->intNavParentId > 0) { $objPages = $this->objModel->loadItems($this->ParentPage() instanceof Page ? array('id' => $this->ParentPage()->getTypeId(), 'key' => $this->ParentPage()->getType()) : array('id' => $this->intTypeId, 'key' => $this->strType), $this->intNavParentId, $intCategoryId, $intLabelId, $intEntryNumber, $intSortType, $intSortOrder, $intEntryDepth, $arrPageIds, $blnOnlyPages, $blnOnlyShowInNavigation); } else { $objPages = $this->objModel->loadItems(array('id' => $this->intTypeId, 'key' => $this->strType), $this->intParentId, $intCategoryId, $intLabelId, $intEntryNumber, $intSortType, $intSortOrder, $intEntryDepth, $arrPageIds, $blnOnlyPages, $blnOnlyShowInNavigation); } return $objPages; } catch (Exception $exc) { $this->core->logger->err($exc); } }