ParentIterator Class Reference

Iterator to filter parents. More...

List of all members.

Public Member Functions

 accept ()


Detailed Description

Iterator to filter parents.

Author:
Marcus Boerger
Version:
1.2
Since:
PHP 5.1
This extended FilterIterator allows a recursive iteration using RecursiveIteratorIterator that only shows those elements which have children.

Definition at line 22 of file parentiterator.inc.


Member Function Documentation

ParentIterator::accept (  ) 

Returns:
whetehr the current element has children

Definition at line 26 of file parentiterator.inc.

00027     {
00028         return $this->it->hasChildren();
00029     }


The documentation for this class was generated from the following file:
Generated on Thu Apr 26 01:06:36 2007 for SPL-StandardPHPLibrary by  doxygen 1.5.2