C_Form_Manager

Class C_Form_Manager.

Defined (1)

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

/products/photocrati_nextgen/modules/nextgen_admin/package.module.nextgen_admin.php  
  1. class C_Form_Manager extends C_Component 
  2. static $_instances = array(); 
  3. var $_forms = array(); 
  4. /** 
  5. * Returns an instance of the form manager 
  6. * @returns C_Form_Manager 
  7. */ 
  8. static function &get_instance($context = FALSE) 
  9. if (!isset(self::$_instances[$context])) { 
  10. $klass = get_class(); 
  11. self::$_instances[$context] = new $klass($context); 
  12. return self::$_instances[$context]; 
  13. /** 
  14. * Defines the instance 
  15. * @param mixed $context 
  16. */ 
  17. function define($context = FALSE) 
  18. parent::define($context); 
  19. $this->add_mixin('Mixin_Form_Manager'); 
  20. $this->implement('I_Form_Manager');