The RecursiveFilterIterator class

Introduction

This abstract iterator filters out unwanted values for a RecursiveIterator. This class should be extended to implement custom filters. The RecursiveFilterIterator::accept must be implemented in the subclass.

Class synopsis

abstract RecursiveFilterIterator
extends FilterIterator
implements RecursiveIterator
/* Methods */
public RecursiveFilterIterator::__construct(RecursiveIterator $iterator)
public RecursiveFilterIteratornull RecursiveFilterIterator::getChildren()
public bool RecursiveFilterIterator::hasChildren()
/* Inherited methods */
public bool accept()
public mixed current()
public mixed key()
public void next()
public void rewind()
public bool 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()
Table of Contents