C_Legacy_Template_Locator

Provides a utility to locate legacy templates.

Defined (1)

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

/products/photocrati_nextgen/modules/nextgen_basic_templates/package.module.nextgen_basic_templates.php  
  1. class C_Legacy_Template_Locator extends C_Component 
  2. static $_instances = array(); 
  3. function define($context = FALSE) 
  4. parent::define($context); 
  5. $this->add_mixin('Mixin_Legacy_Template_Locator'); 
  6. $this->implement('I_Legacy_Template_Locator'); 
  7. static function get_instance($context = FALSE) 
  8. if (!isset(self::$_instances[$context])) { 
  9. $klass = get_class(); 
  10. self::$_instances[$context] = new $klass($context); 
  11. return self::$_instances[$context];