Iteradores
PHP Manual

La clase GlobIterator

(PHP 5 >= 5.3.0, PHP 7)

Introducción

Recorre un sistema de ficheros de forma similar a glob().

Sinopsis de la Clase

GlobIterator extends FilesystemIterator implements SeekableIterator , Countable {
/* Métodos */
public __construct ( string $path [, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO ] )
public int count ( void )
/* Métodos heredados */
public FilesystemIterator::__construct ( string $path [, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO | FilesystemIterator::SKIP_DOTS ] )
public mixed FilesystemIterator::current ( void )
public int FilesystemIterator::getFlags ( void )
public string FilesystemIterator::key ( void )
public void FilesystemIterator::next ( void )
public void FilesystemIterator::rewind ( void )
public void FilesystemIterator::setFlags ([ int $flags ] )
}

Tabla de contenidos


Iteradores
PHP Manual