Php/docs/class.recursivefilteriterator
(PHP 5 >= 5.1.0, PHP 7)
简介
This abstract iterator filters out unwanted values for a RecursiveIterator. This class should be extended to implement custom filters. The RecursiveFilterIterator::accept() must be implemented in the subclass.
类摘要
abstract RecursiveFilterIterator extends FilterIterator implements OuterIterator , RecursiveIterator {
public __construct
( RecursiveIterator $iterator
)
public getChildren ( ) : RecursiveFilterIterator
public hasChildren ( ) : bool
/* 继承的方法 */
public abstract FilterIterator::accept ( ) : bool
public
FilterIterator::__construct
( Iterator $iterator
)
public FilterIterator::current ( ) : mixed
public FilterIterator::getInnerIterator ( ) : Iterator
public FilterIterator::key ( ) : mixed
public FilterIterator::next ( ) : void
public FilterIterator::rewind ( ) : void
public FilterIterator::valid ( ) : bool
}
Table of Contents
- RecursiveFilterIterator::__construct — Create a RecursiveFilterIterator from a RecursiveIterator
- RecursiveFilterIterator::getChildren — Return the inner iterator's children contained in a RecursiveFilterIterator
- RecursiveFilterIterator::hasChildren — Check whether the inner iterator's current element has children
/* 方法 */