FilterIterator::valid
GlobIterator::__construct
Итераторы
PHP Manual
The GlobIterator class
Введение
Iterates through a file system in a similar fashion to
glob()
.
Обзор классов
GlobIterator
extends
FilesystemIterator
implements
Iterator
,
Traversable
,
SeekableIterator
,
Countable
{
/* Методы */
__construct
(
string
$path
[,
int
$flags
= FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO
] )
public
int
count
(
void
)
/* Наследуемые методы */
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
] )
}
Содержание
GlobIterator::__construct
— Construct a directory using glob
GlobIterator::count
— Get the number of directories and files
FilterIterator::valid
GlobIterator::__construct
Итераторы
PHP Manual