function getSectionCache() { if (!is_object($this->sectionCache)) { $this->sectionCache = ExtendedMenuCacheFactory::getNewInstance('section'); $cache = $this->sectionCache; $cache->order = $this->sectionOrder; } return $this->sectionCache; }
function getContentItemCache() { if (!is_object($this->contentItemCache)) { $this->contentItemCache = ExtendedMenuCacheFactory::getNewInstance('content'); $cache = $this->contentItemCache; $cache->order = $this->contentItemOrder; $cache->categoryOrder = $this->categoryOrder; // TODO may get removed } return $this->contentItemCache; }
function &getCategoryCache() { if (!is_object($this->categoryCache)) { $this->categoryCache = ExtendedMenuCacheFactory::getNewInstance('category'); $cache = $this->categoryCache; $cache->order = $this->categoryOrder; $cache->sectionOrder = $this->sectionOrder; // TODO may get removed } return $this->categoryCache; }