public function editAction()
 {
     if ($this->getRequest()->isPost()) {
         $data = $this->getRequest()->getPost();
         $db = new customer_Model_DbTable_DbCurrency();
         try {
             if (isset($_POST['btnsave_close'])) {
                 $db->updateCurrency($data);
                 Application_Form_FrmMessage::Sucessfull('ការ​បញ្ចូល​​ជោគ​ជ័យ', self::REDIRECT_URL_ADD_CLOSE);
             }
         } catch (Exception $e) {
             Application_Form_FrmMessage::message("INSERT_FAIL");
             Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
         }
     }
     $db = new customer_Model_DbTable_DbCurrency();
     $id = $this->getRequest()->getParam('id');
     $row = $db->getCurrencyById($id);
     $this->view->radio = $row;
     $frm = new customer_Form_FrmCurrency();
     $this->view->form = $frm->Frmcurrency($row);
 }
 public function addAction()
 {
     //$this->_helper->layout()->disableLayout();
     $frm = new customer_Form_FrmCurrency();
     $this->view->form = $frm->Frmcurrency();
 }