source/Core/UtilsCount.php
protected function _getCatCache()
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();

        // first look at the local cache
        $aLocalCatCache = $myConfig->getGlobalParameter('aLocalCatCache');

        // if local cache is not set - loading from file cache
        if (!$aLocalCatCache) {
            $sLocalCatCache = \OxidEsales\Eshop\Core\Registry::getUtils()->fromFileCache('aLocalCatCache');
            if ($sLocalCatCache) {
                $aLocalCatCache = $sLocalCatCache;
            } else {
                $aLocalCatCache = null;
            }
            $myConfig->setGlobalParameter('aLocalCatCache', $aLocalCatCache);
        }

        return $aLocalCatCache;
    }
protected function _getCatCache()
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();

        // first look at the local cache
        $aLocalCatCache = $myConfig->getGlobalParameter('aLocalCatCache');

        // if local cache is not set - loading from file cache
        if (!$aLocalCatCache) {
            $sLocalCatCache = \OxidEsales\Eshop\Core\Registry::getUtils()->fromFileCache('aLocalCatCache');
            if ($sLocalCatCache) {
                $aLocalCatCache = $sLocalCatCache;
            } else {
                $aLocalCatCache = null;
            }
            $myConfig->setGlobalParameter('aLocalCatCache', $aLocalCatCache);
        }

        return $aLocalCatCache;
    }
protected function _getCatCache ( ) { $ myConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; // first look at the local cache $ aLocalCatCache = $ myConfig -> getGlobalParameter ( 'aLocalCatCache' ) ; // if local cache is not set - loading from file cache if ( ! $ aLocalCatCache ) { $ sLocalCatCache = \ OxidEsales \ Eshop \ Core \ Registry :: getUtils ( ) -> fromFileCache ( 'aLocalCatCache' ) ; if ( $ sLocalCatCache ) { $ aLocalCatCache = $ sLocalCatCache ; } else { $ aLocalCatCache = null ; } $ myConfig -> setGlobalParameter ( 'aLocalCatCache' , $ aLocalCatCache ) ; } return $ aLocalCatCache ; }
Loads and returns category cache data array

@return array
Loads and returns category cache data array