function Editar() { @session_start(); $this->pessoa_logada = $_SESSION['id_pessoa']; @session_write_close(); $obj = new clsPmieducarTransferenciaTipo($this->cod_transferencia_tipo, $this->pessoa_logada, null, $this->nm_tipo, $this->desc_tipo, null, null, 1, $this->ref_cod_escola); $editou = $obj->edita(); if ($editou) { $this->mensagem .= "Edição efetuada com sucesso.<br>"; header("Location: educar_transferencia_tipo_lst.php"); die; return true; } $this->mensagem = "Edição não realizada.<br>"; echo "<!--\nErro ao editar clsPmieducarTransferenciaTipo\nvalores obrigatórios\nif( is_numeric( {$this->cod_transferencia_tipo} ) && is_numeric( {$this->pessoa_logada} ) )\n-->"; return false; }