FilesystemIterator::setFlags
FilterIterator::accept
Iterators
PHP Manual

# The FilterIterator class

## 소개

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.

## 클래스 개요

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

## Table of Contents

- FilterIterator::accept — Check whether the current element of the iterator is acceptable
- FilterIterator::current — Get the current element value
- FilterIterator::getInnerIterator — Get the inner iterator
- FilterIterator::key — Get the current key
- FilterIterator::next — Move the iterator forward
- FilterIterator::rewind — Rewind the iterator
- FilterIterator::valid — Check whether the current element is valid

FilesystemIterator::setFlags
FilterIterator::accept
Iterators
PHP Manual