C_Cache

Class C_Cache.

Defined (1)

The class is defined in the following location(s).

/products/photocrati_nextgen/modules/cache/package.module.cache.php  
  1. class C_Cache extends C_Component 
  2. public static $_instances = array(); 
  3. function define($context = FALSE) 
  4. parent::define($context); 
  5. $this->add_mixin('Mixin_Cache'); 
  6. $this->implement('I_Cache'); 
  7. public static function get_instance($context = False) 
  8. if (!isset(self::$_instances[$context])) { 
  9. self::$_instances[$context] = new C_Cache($context); 
  10. return self::$_instances[$context];