public function deleteAction() { $request = $this->getRequest(); $id = $request->getParam('id'); $id = $this->_helper->IdConvert->hexToStr($id); $logic = new Logic_Dictionary(); try { $logic->deleteDictionary($id); $translate = new Zend_View_Helper_Translate(); $this->_helper->messenger("success", $translate->translate('Dictionary was successfully deleted.')); $this->_helper->redirector('index'); } catch (Logic_Dictionary_Exception $e) { $this->_helper->error(MSG_ERROR, $e); } $this->_helper->redirector('index'); }