/** * Deletes an event * * */ public function deleteEventAction() { $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender(); if (!$this->getRequest()->isPost()) { return; } $event_id = $this->getRequest()->getPost('eid'); $matterModel = new Application_Model_Matter(); echo $matterModel->deleteEvent($event_id); }