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