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