public static function listar() { $texto = new Texto(); $listaDeTextos = $texto->listar(null, 'id'); self::$variaveis = array('listaDeTextos' => $listaDeTextos); self::$corpo = "listar"; self::renderizar(self::$viewController); }