Php/docs/class.filteriterator
来自菜鸟教程
(PHP 5 >= 5.1.0, PHP 7)
类摘要
abstract FilterIterator extends IteratorIterator implements OuterIterator {
public abstract accept ( ) : bool
public
__construct
( Iterator $iterator
)
public getInnerIterator ( ) : Iterator
public next ( ) : void
public rewind ( ) : void
public valid ( ) : bool
}
Table of Contents
- FilterIterator::accept — Check whether the current element of the iterator is acceptable
- FilterIterator::__construct — Construct a filterIterator
- 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
/* 方法 */