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