function Exclui() { //Exclui a reuniao if ($this->Existe == 'N') { return; } $db = new BDSMS(); $sql = sprintf("delete from tb_mensagem where id = %d", $this->getID()); $db->Exec($sql); $db->Close(); }
function Altera() { //Altera a reunião $db = new BDSMS(); $db->Close(); }