public static function excluir() { $palestrante = new Palestrante(); $palestrante->selecionarPorId($_POST['id']); $palestrante->excluir(); }