public function deleteAction() { //added by Mahipal on 5-jan-2011, no one can delete area return $this->_helper->redirector('index', 'area', "admin"); $this->_helper->viewRenderer->setNoRender(true); $id = $this->_getParam('id'); $areaM = new Application_Model_Area(); if ($areaM->delete("id='{$id}'")) { $this->_redirect("/admin/area/index/msg/" . base64_encode("Area id : [{$id}] has been deleted.")); } }