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