/** * Gets all user options from cache. */ protected static function getUserOptionCache() { $cacheName = 'user-option-' . PACKAGE_ID; CacheHandler::getInstance()->addResource($cacheName, WCF_DIR . 'cache/cache.' . $cacheName . '.php', 'wcf\\system\\cache\\builder\\OptionCacheBuilder'); self::$userOptions = CacheHandler::getInstance()->get($cacheName, 'options'); }
/** * Gets all user options from cache. */ protected static function getUserOptionCache() { self::$userOptions = UserOptionCacheBuilder::getInstance()->getData(array(), 'options'); }