Iteratori
PHP Manual

The FilterIterator class

(PHP 5 >= 5.1.0)

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 , Traversable , Iterator {
/* Metode */
abstract bool accept ( void )
__construct ( Iterator $iterator )
mixed current ( void )
Iterator getInnerIterator ( void )
mixed key ( void )
void next ( void )
void rewind ( void )
bool valid ( void )
}

Cuprins


Iteratori
PHP Manual