Class RecursiveComponentIterator (namespace Nette)
Recursive component iterator. See ComponentContainer::getComponents().
RecursiveArrayIterator | --RecursiveComponentIterator
Public Method Summary | |
---|---|
RecursiveIterator |
getChildren
()
The sub-iterator for the current element.
|
bool |
hasChildren
()
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 getChildrenpublic RecursiveIterator getChildren () The sub-iterator for the current element.
|
||||||
line 255 hasChildrenpublic bool hasChildren () Has the current element has children?
|