PHP 7.2.0 Release Candidate 2 Released

GlobIterator クラス

(PHP 5 >= 5.3.0, PHP 7)

はじめに

ファイルシステムで、glob() と同じ形式の反復処理を行います。

クラス概要

GlobIterator extends FilesystemIterator implements 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 ] )
}

目次

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top