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 NInstanceFilterIterator

Instance iterator filter.

IteratorIterator implements Iterator, Traversable, OuterIterator
Extended by FilterIterator
Extended by NInstanceFilterIterator implements Countable
Package: Nette
Author: David Grudl
Located at Utils/Iterators/InstanceFilterIterator.php
Methods summary
public
# __construct( Iterator $iterator, string $type )

Constructs a filter around another iterator.

Constructs a filter around another iterator.

Parameters

$iterator
NIterator
$type
string
class/interface name
public boolean
# accept( )

Expose the current element of the inner iterator?

Expose the current element of the inner iterator?

Returns

boolean
public integer
# count( )

Returns the count of elements.

Returns the count of elements.

Returns

integer

Implementation of

Countable::count
Methods inherited from FilterIterator
current(), getInnerIterator(), key(), next(), rewind(), valid()
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0