|
The ParentIterator classIntroductionThis extended FilterIterator allows a recursive iteration using RecursiveIteratorIterator that only shows those elements which have children. Class synopsis
ParentIterator
extends
RecursiveFilterIterator
/* Methods */
public ParentIterator::__construct(RecursiveIterator
$iterator )public bool ParentIterator::accept()
public ParentIterator ParentIterator::getChildren()
public bool ParentIterator::hasChildren()
public void ParentIterator::next()
public void ParentIterator::rewind()
/* Inherited methods */
public RecursiveFilterIteratornull getChildren()
public bool hasChildren()
public bool FilterIterator::accept()
public mixed FilterIterator::current()
public mixed FilterIterator::key()
public void FilterIterator::next()
public void FilterIterator::rewind()
public bool FilterIterator::valid()
public mixed IteratorIterator::current()
public Iteratornull IteratorIterator::getInnerIterator()
public mixed IteratorIterator::key()
public void IteratorIterator::next()
public void IteratorIterator::rewind()
public bool IteratorIterator::valid()
|