C_Dynamic_Stylesheet_Controller

Class C_Dynamic_Stylesheet_Controller.

Defined (1)

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

/products/photocrati_nextgen/modules/dynamic_stylesheet/package.module.dynamic_stylesheet.php  
  1. class C_Dynamic_Stylesheet_Controller extends C_MVC_Controller 
  2. static $_instances = array(); 
  3. var $_known_templates = array(); 
  4. var $_app = NULL; 
  5. function define($context = FALSE) 
  6. parent::define($context); 
  7. $this->add_mixin('Mixin_Dynamic_Stylesheet_Instance_Methods'); 
  8. $this->add_mixin('Mixin_Dynamic_Stylesheet_Actions'); 
  9. $this->implement('I_Dynamic_Stylesheet'); 
  10. function initialize() 
  11. parent::initialize(); 
  12. $this->_app = C_NextGen_Settings::get_instance()->dynamic_stylesheet_slug; 
  13. static function &get_instance($context = FALSE) 
  14. if (!isset(self::$_instances[$context])) { 
  15. $klass = get_class(); 
  16. self::$_instances[$context] = new $klass($context); 
  17. return self::$_instances[$context];