public function excluirAction() { if ($_GET['id']) { try { $excluir = DeslocamentoDAO::excluiDeslocamento($_GET['id']); parent::message("Exclusão realizada com sucesso!", "/localderealizacao/index?idPreProjeto=" . $this->idPreProjeto . $edital, "CONFIRM"); } catch (Zend_Exception $ex) { $this->view->message = $e->getMessage(); $this->vies->message_type = "ERROR"; } } $this->_redirect("localderealizacao\\index"); }