Count all items
Return type: | integer |
---|
Spread values in the items relative to their weight
Parameters: | array – |
---|---|
Throws InvalidArgumentException: | |
When value list is empty | |
Return type: | void |
Seek to an absolute position
Parameters: | integer – |
---|---|
Throws OutOfBoundsException: | |
When the seek position is invalid | |
Return type: | void |
Return the current element
Return type: | mixed |
---|
Move forward to next element
Return type: | mixed |
---|
Return the key of the current element
Return type: | mixed |
---|
Check if there is a current element after calls to rewind() or next()
Return type: | bool |
---|
Rewind the Iterator to the first element
Return type: | void |
---|
Check if an offset exists
Parameters: | mixed – |
---|---|
Return type: | bool |
Get the value of an offset
Parameters: | mixed – |
---|---|
Return type: | TaggableInterface |