Class InstanceFilterIterator (namespace Nette)
Instance iterator filter.
FilterIterator | --InstanceFilterIterator
Implements interfaces:
Countable (internal interface)
Public Method Summary | |
---|---|
InstanceFilterIterator |
__construct
($iterator, string $type)
Constructs a filter around another iterator.
|
bool |
accept
()
Expose the current element of the inner iterator?
|
int |
count
()
Returns the count of elements.
|
Methods Inherited From FilterIterator (Internal Class) |
---|
constructor __construct ( $iterator ), accept ( ), current ( ), getInnerIterator ( ), key ( ), next ( ), rewind ( ), valid ( ) |
Method Details | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 32 __constructpublic InstanceFilterIterator __construct ($iterator, string $type) Constructs a filter around another iterator.
|
|||||||||||||||
line 44 acceptpublic bool accept () Expose the current element of the inner iterator?
|
|||||||||||||||
line 55 countpublic int count () Returns the count of elements. Implementation of:
Countable::count
|