/**
  *
  */
 public function addformcreateAction()
 {
     $domain = new Administer_Lib_Meta_Domain($this->_getParam('table'), $this->_getParam('module_domain'));
     if (!file_exists($domain->get_form_ini_path())) {
         $domain->create_form_ini();
     }
     if (!file_exists($domain->get_form_path())) {
         $domain->create_form();
     }
     $this->view->domain = $domain;
 }
Exemple #2
0
 public static function getInstance($pReload = FALSE)
 {
     if ($pReload || is_null(self::$_Instance)) {
         // process
         self::$_Instance = new self();
     }
     return self::$_Instance;
 }