public function settingEditAction()
 {
     $frm = new Global_Form_FrmSearchMajor();
     $_model = new Global_Model_DbTable_DbSetting();
     if ($this->getRequest()->isPost()) {
         try {
             $_data = $this->getRequest()->getPost();
             $_model->AddNewSetting($_data);
             Application_Form_FrmMessage::Sucessfull("/global/index/setting", "ការបញ្ជូលដោយជោយជ័យ");
         } catch (Exception $e) {
             Application_Form_FrmMessage::message("ការបញ្ជូលបរាជ័យ");
             Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
         }
     }
     $id = $this->getRequest()->getParam("id");
     $data = null;
     if (!empty($id)) {
         $data = $_model->getSettingById($id);
         $frm = $frm->FrmAddSetting($data);
         Application_Model_Decorator::removeAllDecorator($frm);
         $this->view->frm_setting = $frm;
     } else {
         Application_Form_FrmMessage::getUrl("/global/index/setting");
     }
 }