Class RecursiveComponentIterator (namespace Nette)


Recursive component iterator. See ComponentContainer::getComponents().

RecursiveArrayIterator
   |
   --RecursiveComponentIterator
Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /ComponentContainer.php (line 248)
Public Method Summary
RecursiveIterator
The sub-iterator for the current element.
bool
Has the current element has children?
Methods Inherited From RecursiveArrayIterator (Internal Class)
constructor __construct ( $array ), append ( $value ), asort ( ), count ( ), current ( ), getArrayCopy ( ), getChildren ( ), getFlags ( ), hasChildren ( ), key ( ), ksort ( ), natcasesort ( ), natsort ( ), next ( ), offsetExists ( $index ), offsetGet ( $index ), offsetSet ( $index, $newval ), offsetUnset ( $index ), rewind ( ), seek ( $position ), setFlags ( $flags ), uasort ( $cmp_function ), uksort ( $cmp_function ), valid ( )

Method Details

line 266

getChildren

public RecursiveIterator getChildren ()

The sub-iterator for the current element.

Output
RecursiveIterator  

line 255

hasChildren

public bool hasChildren ()

Has the current element has children?

Output
bool