function Excluir() { session_start(); $this->pessoa_logada = $_SESSION['id_pessoa']; session_write_close(); $obj = new clsPublicMunicipio($this->idmun, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, $this->pessoa_logada); $excluiu = $obj->excluir(); if ($excluiu) { $this->mensagem .= 'Exclusão efetuada com sucesso.<br>'; header('Location: public_municipio_lst.php'); die; } $this->mensagem = 'Exclusão não realizada.<br>'; echo "<!--\nErro ao excluir clsPublicMunicipio\nvalores obrigatorios\nif( is_numeric( {$this->idmun} ) )\n-->"; return FALSE; }