RecursiveIteratorIterator::valid
RecursiveRegexIterator::__construct
Iterators
PHP Manual
The RecursiveRegexIterator class
Introduction
This recursive iterator can filter another recursive iterator via a regular expression.
Class synopsis
RecursiveRegexIterator
extends
RegexIterator
implements
RecursiveIterator
{
/* Methods */
public
__construct
(
RecursiveIterator
$iterator
,
string
$regex
[,
int
$mode
[,
int
$flags
[,
int
$preg_flags
]]] )
public
RecursiveRegexIterator
getChildren
(
void
)
public
bool
hasChildren
(
void
)
/* Inherited methods */
public
RecursiveIterator
RecursiveIterator::getChildren
(
void
)
public
bool
RecursiveIterator::hasChildren
(
void
)
public
bool
RegexIterator::accept
(
void
)
public
int
RegexIterator::getFlags
(
void
)
public
int
RegexIterator::getMode
(
void
)
public
int
RegexIterator::getPregFlags
(
void
)
public
void
RegexIterator::setFlags
(
int
$flags
)
public
void
RegexIterator::setMode
(
int
$mode
)
public
void
RegexIterator::setPregFlags
(
int
$preg_flags
)
}
Table of Contents
RecursiveRegexIterator::__construct
— Creates a new RecursiveRegexIterator.
RecursiveRegexIterator::getChildren
— Returns an iterator for the current entry.
RecursiveRegexIterator::hasChildren
— Returns whether an iterator can be obtained for the current entry.
RecursiveIteratorIterator::valid
RecursiveRegexIterator::__construct
Iterators
PHP Manual