The FilterIterator class

(PHP 5 >= 5.1.0, PHP 7)

Introducere

This abstract iterator filters out unwanted values. This class should be extended to implement custom iterator filters. The FilterIterator::accept() must be implemented in the subclass.

Sinopsisul clasei

abstract FilterIterator extends IteratorIterator implements OuterIterator {
/* Metode */
public abstract accept ( void ) : bool
public __construct ( Iterator $iterator )
public current ( void ) : mixed
public getInnerIterator ( void ) : Iterator
public key ( void ) : mixed
public next ( void ) : void
public rewind ( void ) : void
public valid ( void ) : bool
}

Cuprins