コード例 #1
0
ファイル: WsserviceController.php プロジェクト: knatorski/SMS
 public function deletelimitAction()
 {
     $request = $this->getRequest();
     $id = $this->_helper->IdConvert->hexToStr($request->getParam('id'));
     $model = new $this->_model();
     $logic = new Logic_Ws_Service($model);
     try {
         $logic->deleteLimit($id);
         $this->_helper->messenger()->success();
     } catch (Zend_Db_Exception $e) {
         $this->_helper->messenger()->error($e->getMessage());
     }
     return $this->_helper->redirector('index');
 }