Please wait while we load your page...
 

Announcements

PHP Manual :: The FilterIterator class



FilesystemIterator::setFlags || FilterIterator::accept || Iterators || PHP Manual

(PHP 5 >= 5.1.0, PHP 7)

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.

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


FilesystemIterator::setFlags || FilterIterator::accept || Iterators || PHP Manual
Live Chat Not Available