Class RecursiveComponentIterator (namespace Nette)
Recursive component iterator. See ComponentContainer::getComponents().
RecursiveArrayIterator | --RecursiveComponentIterator
Implements interfaces:
Countable (internal interface)
Public Method Summary | |
---|---|
int |
count
()
Returns the count of elements.
|
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 288 countpublic int count () Returns the count of elements. Implementation of:
Countable::count
|
||||||
line 277 getChildrenpublic RecursiveIterator getChildren () The sub-iterator for the current element.
|
||||||
line 266 hasChildrenpublic bool hasChildren () Has the current element has children?
|