迭代器
在线手册:中文 英文
PHP手册

The GlobIterator class

(PHP 5 >= 5.3.0)

简介

Iterates through a file system in a similar fashion to glob().

类摘要

GlobIterator extends FilesystemIterator implements Iterator , Traversable , SeekableIterator , Countable {
/* 方法 */
public __construct ( string $path [, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO ] )
public int count ( void )
/* 继承的方法 */
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 ] )
}

Table of Contents


迭代器
在线手册:中文 英文
PHP手册