Class RecursiveComponentIterator
Recursive component iterator. See Container::getComponents().
-
ArrayIterator
implements
Iterator,
Traversable,
ArrayAccess,
SeekableIterator,
Serializable,
Countable
-
RecursiveArrayIterator
implements
RecursiveIterator
-
Nette\ComponentModel\RecursiveComponentIterator
implements
Countable
Methods summary
public
boolean
|
#
hasChildren( )
Has the current element has children?
Has the current element has children?
Returns
boolean bool
Overrides
|
public
RecursiveIterator
|
#
getChildren( )
The sub-iterator for the current element.
The sub-iterator for the current element.
Returns
Overrides
|
public
integer
|
#
count( )
Returns the count of elements.
Returns the count of elements.
Returns
integer int
Overrides
Implementation of
|
Methods inherited from ArrayIterator
__construct(),
append(),
asort(),
current(),
getArrayCopy(),
getFlags(),
key(),
ksort(),
natcasesort(),
natsort(),
next(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
rewind(),
seek(),
serialize(),
setFlags(),
uasort(),
uksort(),
unserialize(),
valid()
|