C_Display_Type_Controller

Class C_Display_Type_Controller.

Defined (1)

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

/products/photocrati_nextgen/modules/nextgen_gallery_display/package.module.nextgen_gallery_display.php  
  1. class C_Display_Type_Controller extends C_MVC_Controller 
  2. static $_instances = array(); 
  3. function define($context = FALSE) 
  4. parent::define($context); 
  5. $this->add_mixin('Mixin_Display_Type_Controller'); 
  6. $this->implement('I_Display_Type_Controller'); 
  7. /** 
  8. * Gets a singleton of the mapper 
  9. * @param string|array $context 
  10. * @return C_Display_Type_Controller 
  11. */ 
  12. public static function get_instance($context = FALSE) 
  13. if (!isset(self::$_instances[$context])) { 
  14. self::$_instances[$context] = new C_Display_Type_Controller($context); 
  15. return self::$_instances[$context];