source/Application/Controller/FrontendController.php
public function getTopNavigationCatCnt()
    {
        if ($this->_iTopCatNavItmCnt == null) {
            $topCategoryNavigationItemsCount = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('iTopNaviCatCount');
            $this->_iTopCatNavItmCnt = $topCategoryNavigationItemsCount ? $topCategoryNavigationItemsCount : 5;
        }

        return $this->_iTopCatNavItmCnt;
    }
public function getTopNavigationCatCnt()
    {
        if ($this->_iTopCatNavItmCnt == null) {
            $topCategoryNavigationItemsCount = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('iTopNaviCatCount');
            $this->_iTopCatNavItmCnt = $topCategoryNavigationItemsCount ? $topCategoryNavigationItemsCount : 5;
        }

        return $this->_iTopCatNavItmCnt;
    }
public function getTopNavigationCatCnt ( ) { if ( $ this -> _iTopCatNavItmCnt == null ) { $ topCategoryNavigationItemsCount = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'iTopNaviCatCount' ) ; $ this -> _iTopCatNavItmCnt = $ topCategoryNavigationItemsCount ? $ topCategoryNavigationItemsCount : 5 ; } return $ this -> _iTopCatNavItmCnt ; }
Returns item count in top navigation of categories

@return integer
Returns item count in top navigation of categories