public function getdescAction() { $model = new AdminstructModel(); $this->view->options = $model->getColumns($this->_request->getParam('tablename')); $this->view->notemplate = $this->_request->getParam('notemplate'); $this->view->stype = $this->_request->getParam('stype'); }
public function indexAction() { $this->initCSS(); $model = new AdminstructModel(); $tablename = $this->_request->getParam('table'); if (isset($tablename)) { $this->view->columns = $model->getColumns($tablename); $this->view->tablename = $tablename; } else { $this->sendMessage("pleace, select a table", "nocheck", $cnf->url->fullurl . "adminstruct/step1/"); } }