Get iterator mode
Return type: | int Value of IteratorInterface::CURRENT_AS_* |
---|
Set iterator mode
Parameters: | int – |
---|---|
Return type: | KeyListIterator Fluent interface |
Get current key, value or metadata.
Return type: | mixed |
---|
Get current key
Return type: | string |
---|
Checks if current position is valid
Return type: | bool |
---|
Move forward to next element
Return type: | void |
---|
Rewind the Iterator to the first element.
Return type: | void |
---|
Count number of items
Return type: | int |
---|