示例#1
0
 /**
  * @return Zend_Cache_Core
  */
 public static function getCache()
 {
     if (null === self::$_cache) {
         $options = self::getDefaultFrontendBackendOptions();
         self::$_cache = Zend_Cache::factory($options['frontend'], $options['backend'], $options['frontendOptions'], $options['backendOptions']);
     }
     return self::$_cache;
 }