RecursiveIteratorIterator::valid
RecursiveRegexIterator::__construct
Iterators
PHP Manual
The RecursiveRegexIterator class
简介
This recursive iterator can filter another recursive iterator via a regular expression.
类摘要
RecursiveRegexIterator
extends
RegexIterator
implements
RecursiveIterator
{
/* 方法 */
public
__construct
(
RecursiveIterator
$iterator
,
string
$regex
[,
int
$mode
[,
int
$flags
[,
int
$preg_flags
]]] )
public
RecursiveRegexIterator
getChildren
(
void
)
public
bool
hasChildren
(
void
)
/* 继承的方法 */
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