Namespaces

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

Classes

  • ArrayTools
  • Callback
  • Component
  • ComponentContainer
  • Configurator
  • DateTime
  • Debug
  • Environment
  • Framework
  • FreezableObject
  • GenericRecursiveIterator
  • Image
  • ImageMagick
  • InstanceFilterIterator
  • Object
  • ObjectMixin
  • Paginator
  • RecursiveComponentIterator
  • ServiceLocator
  • SmartCachingIterator
  • String
  • Tools

Interfaces

  • IComponent
  • IComponentContainer
  • IDebuggable
  • IServiceLocator
  • ITranslator

Exceptions

  • AmbiguousServiceException
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Class InstanceFilterIterator

Instance iterator filter.

IteratorIterator implements Iterator, Traversable, OuterIterator
Extended by FilterIterator
Extended by Nette\InstanceFilterIterator implements Countable
Namespace: 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
Iterator
$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 API documentation generated by ApiGen 2.3.0