RecursiveDirectoryIterator::rewind
RecursiveFilterIterator::__construct
Iterators
PHP Manual

# 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

RecursiveFilterIterator
RecursiveFilterIterator extends FilterIterator implements Iterator , Traversable , OuterIterator , RecursiveIterator {
/* Methods */
__construct ( RecursiveIterator `$iterator` )
public void getChildren ( void )
public void hasChildren ( void )
/* Inherited methods */
abstract bool FilterIterator::accept ( void )
mixed FilterIterator::current ( void )
Iterator FilterIterator::getInnerIterator ( void )
mixed FilterIterator::key ( void )
void FilterIterator::next ( void )
void FilterIterator::rewind ( void )
bool FilterIterator::valid ( void )
}

## Table of Contents

- RecursiveFilterIterator::__construct — Create a RecursiveFilterIterator from a RecursiveIterator
- RecursiveFilterIterator::getChildren — Return the inner iterator's children contained in a RecursiveFilterIterator
- RecursiveFilterIterator::hasChildren — Check whether the inner iterator's current element has children

RecursiveDirectoryIterator::rewind
RecursiveFilterIterator::__construct
Iterators
PHP Manual