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