PARENTITERATOR(3) 1 PARENTITERATOR(3)
The ParentIterator class
INTRODUCTION
This extended FilterIterator allows a recursive iteration using RecursiveIteratorIterator that only shows those elements which have chil-
dren.
CLASS SYNOPSIS
ParentIterator
ParentIteratorextends
RecursiveFilterIteratorRecursiveIteratorOuterIterator
Methods
o public bool ParentIterator::accept (void )
o public ParentIterator::__construct (RecursiveIterator $iterator)
o public ParentIterator ParentIterator::getChildren (void )
o public bool ParentIterator::hasChildren (void )
o public void ParentIterator::next (void )
o public void ParentIterator::rewind (void )
PHP Documentation Group PARENTITERATOR(3)