Exemple #1
0
 /**
  * @see	\wcf\system\menu\TreeMenu::loadCache()
  */
 protected function loadCache()
 {
     parent::loadCache();
     if (PACKAGE_ID == 0) {
         return;
     }
     $this->menuItems = ACPMenuCacheBuilder::getInstance()->getData();
 }
Exemple #2
0
 /**
  * @see	wcf\system\menu\TreeMenu::loadCache()
  */
 protected function loadCache()
 {
     parent::loadCache();
     // get cache
     $cacheName = 'pageMenu-' . PACKAGE_ID;
     CacheHandler::getInstance()->addResource($cacheName, WCF_DIR . 'cache/cache.' . $cacheName . '.php', 'wcf\\system\\cache\\builder\\PageMenuCacheBuilder');
     $this->menuItems = CacheHandler::getInstance()->get($cacheName);
 }
Exemple #3
0
 /**
  * @see	wcf\system\menu\TreeMenu::loadCache()
  */
 protected function loadCache()
 {
     parent::loadCache();
     if (PACKAGE_ID == 0) {
         return;
     }
     $cacheName = 'acpMenu-' . PACKAGE_ID;
     CacheHandler::getInstance()->addResource($cacheName, WCF_DIR . 'cache/cache.' . $cacheName . '.php', 'wcf\\system\\cache\\builder\\ACPMenuCacheBuilder');
     $this->menuItems = CacheHandler::getInstance()->get($cacheName);
 }
Exemple #4
0
 /**
  * @see	\wcf\system\menu\TreeMenu::loadCache()
  */
 protected function loadCache()
 {
     parent::loadCache();
     $this->menuItems = UserMenuCacheBuilder::getInstance()->getData();
 }
Exemple #5
0
 /**
  * @see	\wcf\system\menu\TreeMenu::loadCache()
  */
 protected function loadCache()
 {
     parent::loadCache();
     // get cache
     $this->menuItems = PageMenuCacheBuilder::getInstance()->getData();
 }