Packages

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • NArrayTools
  • NCallback
  • NComponent
  • NComponentContainer
  • NConfigurator
  • NDateTime53
  • NDebug
  • NEnvironment
  • NFramework
  • NFreezableObject
  • NGenericRecursiveIterator
  • NImage
  • NImageMagick
  • NInstanceFilterIterator
  • NObject
  • NObjectMixin
  • NPaginator
  • NRecursiveComponentIterator
  • NServiceLocator
  • NSmartCachingIterator
  • NString
  • NTools

Interfaces

  • IComponent
  • IComponentContainer
  • IDebuggable
  • IServiceLocator
  • ITranslator

Exceptions

  • NAmbiguousServiceException
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

Class NRecursiveComponentIterator

Recursive component iterator. See NComponentContainer::getComponents().

ArrayIterator implements Iterator, Traversable, ArrayAccess, SeekableIterator, Serializable, Countable
Extended by RecursiveArrayIterator implements RecursiveIterator
Extended by NRecursiveComponentIterator implements Countable
Package: Nette
Author: David Grudl
Located at ComponentModel/ComponentContainer.php
Methods summary
public boolean
# hasChildren( )

Has the current element has children?

Has the current element has children?

Returns

boolean

Implementation of

RecursiveIterator::hasChildren
public RecursiveIterator
# getChildren( )

The sub-iterator for the current element.

The sub-iterator for the current element.

Returns

RecursiveIterator

Implementation of

RecursiveIterator::getChildren
public integer
# count( )

Returns the count of elements.

Returns the count of elements.

Returns

integer

Implementation of

Countable::count
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()
Constants inherited from RecursiveArrayIterator
CHILD_ARRAYS_ONLY
Constants inherited from ArrayIterator
ARRAY_AS_PROPS, STD_PROP_LIST
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0