public function getCurrentCacheKey() { if (!is_array($va_params = $this->getParameters())) { $va_params = array(); } if (!is_array($va_params['criteria'])) { $va_params['criteria'] = array(); } if (!is_array($va_type_restrictions = $this->getTypeRestrictions())) { $va_type_restrictions = array(); } if (!is_array($va_source_restrictions = $this->getSourceRestrictions())) { $va_source_restrictions = array(); } return BrowseCache::makeCacheKey($va_params, $va_type_restrictions, $va_source_restrictions); }
/** * */ public static function _writeBrowseCacheToDisk() { if (is_array(BrowseCache::$s_data)) { $o_cache = BrowseCache::_getCacheObject(); foreach (BrowseCache::$s_data as $vs_cache_key => $va_cached_data) { $o_cache->save($va_cached_data, $vs_cache_key, array('ca_browse_cache')); } } }