Map_Iterator deprecated
class Map_Iterator implements Iterator (View source)
deprecated
Builds a map iterator around an Iterator. Called by Map
Methods
__construct(Iterator $items, string $keyField, string $titleField, array $firstItems = null, array $lastItems = null)
No description
mixed
rewind()
Rewind the Iterator to the first element.
mixed
current()
Return the current element.
string
key()
Return the key of the current element.
mixed
next()
Move forward to next element.
bool
valid()
Checks if current position is valid.
Details
__construct(Iterator $items, string $keyField, string $titleField, array $firstItems = null, array $lastItems = null)
mixed
rewind()
Rewind the Iterator to the first element.
mixed
current()
Return the current element.
string
key()
Return the key of the current element.
mixed
next()
Move forward to next element.
bool
valid()
Checks if current position is valid.