Esempio n. 1
0
 public function action()
 {
     //页面展示
     $model = new LoginModel();
     $result = $model->getResult();
     $tplVar = array('params' => $result['params']);
     $this->tpl->assign($tplVar);
     $this->tpl->display('login.tpl');
 }