/**
  * @see	\wcf\data\IEditableCachedObject::resetCache()
  */
 public static function resetCache()
 {
     UserProfileMenuCacheBuilder::getInstance()->reset();
 }
Ejemplo n.º 2
0
 /**
  * Loads cached menu items.
  */
 protected function loadCache()
 {
     // call loadCache event
     EventHandler::getInstance()->fireAction($this, 'loadCache');
     $this->menuItems = UserProfileMenuCacheBuilder::getInstance()->getData();
 }