Php/docs/class.parentiterator

来自菜鸟教程
跳转至:导航、​搜索

(PHP 5 >= 5.1.0, PHP 7)

简介

This extended FilterIterator allows a recursive iteration using RecursiveIteratorIterator that only shows those elements which have children.


类摘要


ParentIterator extends RecursiveFilterIterator implements RecursiveIterator , OuterIterator {

/* 方法 */

public accept ( ) : bool

public __construct ( RecursiveIterator $iterator )

public getChildren ( ) : ParentIterator

public hasChildren ( ) : bool

public next ( ) : void

public rewind ( ) : void

/* 继承的方法 */

}

Table of Contents