Class RecursiveComponentIterator
Recursive component iterator. See ComponentContainer::getComponents().
-
ArrayIterator
implements
Iterator,
Traversable,
ArrayAccess,
SeekableIterator,
Serializable,
Countable
-
RecursiveArrayIterator
implements
RecursiveIterator
-
Nette\RecursiveComponentIterator
implements
Countable
Methods summary
public
boolean
|
#
hasChildren( )
Has the current element has children?
Has the current element has children?
Returns
boolean
Implementation of
|
public
RecursiveIterator
|
#
getChildren( )
The sub-iterator for the current element.
The sub-iterator for the current element.
Returns
Implementation of
|
public
integer
|
#
count( )
Returns the count of elements.
Returns the count of elements.
Returns
integer
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()
|