public function genModel() { $model = new spModel(); $this->tpl_prefix = $GLOBALS['G_SP']["db"]['prefix']; $this->tpl_tables = $model->findSql('SHOW TABLES;'); $this->display('codeBuilder/genModel.html'); }
public function __destruct() { parent::__destruct(); // 这是必须的 }