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