CollectionIterator
class CollectionIterator extends ArrayIterator
Итератор коллекции
Methods
boolean
valid()
Checks if current position is valid
integer
key()
Return the key of the current element
void
rewind()
Rewind the Iterator to the first element
Details
at line 43
__construct(Collection $collection)
Конструктор итератора
at line 55
Model
current()
Return the current element
at line 66
Model
next()
Move forward to next element
at line 77
boolean
valid()
Checks if current position is valid
at line 90
integer
key()
Return the key of the current element
at line 102
void
rewind()
Rewind the Iterator to the first element