/** * deletes a matter * * */ public function deleteAction() { $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender(); if ($this->getRequest()->isPost()) { $matter_id = $this->_getParam('matter_id'); $matterModel = new Application_Model_Matter(); $result = $matterModel->deleteMatter($matter_id); echo $result; } }