public function index()
 {
     $this->assign('db_prefix', C('DB_PREFIX'));
     $tableNameList = getTableNameList();
     $this->assign('tableNameList', $tableNameList);
     $moduleNameList = getModuleNameList();
     $this->assign('moduleNameList', $moduleNameList);
     $this->display();
 }
 public function crud()
 {
     //生成CRUD代码
     $this->assign('tableNameList', getTableNameList());
     $this->assign('moduleNameList', getModuleNameList());
     $this->assign('selectTableName', $this->getSessionTableName());
     $this->assign('db_prefix', C('DB_PREFIX'));
     $this->display();
 }
 public function index()
 {
     $this->assign('db_prefix', C('DB_PREFIX'));
     $tableNameList = getTableNameList();
     $this->assign('tableNameList', $tableNameList);
     $moduleNameList = getModuleNameList();
     $this->assign('moduleNameList', $moduleNameList);
     $layoutNameList = $this->getLayoutTemplateNameList();
     $this->assign('layoutNameList', $layoutNameList);
     $this->assign('selectTableName', $this->getSessionTableName());
     $this->display();
 }