Map_Iterator
class Map_Iterator implements Iterator
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.
boolean
valid()
Checks if current position is valid.
Details
at line 36
__construct(Iterator $items, string $keyField, string $titleField, array $firstItems = null, array $lastItems = null)
at line 63
mixed
rewind()
Rewind the Iterator to the first element.
at line 90
mixed
current()
Return the current element.
at line 129
string
key()
Return the key of the current element.
at line 147
mixed
next()
Move forward to next element.
at line 187
boolean
valid()
Checks if current position is valid.