예제 #1
0
 public function updateAction()
 {
     $lop = new Model_Lophoc();
     $classes_id = $_GET['classes_id'];
     $findOne = $lop->findOneLop($classes_id);
     $this->view->findOne = $findOne;
     $listgv = $lop->listgv();
     $this->view->listgv = $listgv;
     $listmon = $lop->listmon();
     $this->view->listmon = $listmon;
     if ($this->_request->isPost()) {
         $data = $this->_getParam('searchParam');
         $lop->updateLop($classes_id, $data);
         $this->redirect('giaovu/lop/list');
     }
 }