Ejemplo n.º 1
0
 /**
  * Initialize cache for given namespace if necessary
  * Namespace declaration is optionale
  * @throws ExternalCacheInvalidParameterException
  */
 private static function init()
 {
     if (self::cacheExists()) {
         return true;
     } else {
         if (self::$opo_cache = self::getCacheObject()) {
             return true;
         } else {
             return false;
         }
     }
 }