The RecursiveFilterIterator class

(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 hasChildren ( void ) : bool
/* 继承的方法 */
public abstract FilterIterator::accept ( void ) : bool
public FilterIterator::__construct ( Iterator $iterator )
public FilterIterator::current ( void ) : mixed
public FilterIterator::key ( void ) : mixed
public FilterIterator::next ( void ) : void
public FilterIterator::rewind ( void ) : void
public FilterIterator::valid ( void ) : bool
}

Table of Contents

关注编程学问公众号