RecursiveRegexIterator クラス

はじめに

この再帰イテレータは、別の再帰イテレータを正規表現でフィルタリングすることができます。

クラス概要

RecursiveRegexIterator
extends RegexIterator
implements RecursiveIterator
/* 継承した定数 */
public const int RegexIterator::USE_KEY;
public const int RegexIterator::INVERT_MATCH;
public const int RegexIterator::MATCH;
public const int RegexIterator::GET_MATCH;
public const int RegexIterator::ALL_MATCHES;
public const int RegexIterator::SPLIT;
public const int RegexIterator::REPLACE;
/* 継承したプロパティ */
public stringnull $replacement = null;
/* メソッド */
public RecursiveRegexIterator::__construct(
    RecursiveIterator $iterator,
    string $pattern,
    int $mode = RecursiveRegexIterator::MATCH,
    int $flags = 0,
    int $pregFlags = 0
)
public RecursiveRegexIterator RecursiveRegexIterator::getChildren()
public bool RecursiveRegexIterator::hasChildren()
/* 継承したメソッド */
public bool accept()
public int getFlags()
public int getMode()
public int getPregFlags()
public string getRegex()
public void setFlags(int $flags)
public void setMode(int $mode)
public void setPregFlags(int $pregFlags)
public bool FilterIterator::accept()
public mixed FilterIterator::current()
public mixed FilterIterator::key()
public void FilterIterator::next()
public void FilterIterator::rewind()
public bool FilterIterator::valid()
public mixed IteratorIterator::current()
public Iteratornull IteratorIterator::getInnerIterator()
public mixed IteratorIterator::key()
public void IteratorIterator::next()
public void IteratorIterator::rewind()
public bool IteratorIterator::valid()
目次