# The RecursiveFilterIterator class

(PHP 5 >= 5.1.0, PHP 7)

## Introducere

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.

## Sinopsisul clasei

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

## Cuprins

- 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