/** * Usuniecie templatki * * @return void */ public function deleteAction() { $request = $this->getRequest(); $id = $this->_helper->IdConvert->hexToStr($request->getParam('id')); try { $this->_model->deleteTemplate($id); $this->_helper->messenger->success(); $this->_helper->redirector('index'); return; } catch (Zend_Db_Exception $e) { $this->_helper->messenger->error(); $this->_helper->redirector('index'); } }