count()
Count all items
- rtype
integer
spreadWeightValues()
Spread values in the items relative to their weight
- param array
- throws InvalidArgumentException
When value list is empty
- rtype
void
seek()
Seek to an absolute position
- param integer
- throws OutOfBoundsException
When the seek position is invalid
- rtype
void
current()
Return the current element
- rtype
mixed
next()
Move forward to next element
- rtype
mixed
key()
Return the key of the current element
- rtype
mixed
valid()
Check if there is a current element after calls to rewind() or next()
- rtype
bool
rewind()
Rewind the Iterator to the first element
- rtype
void
offsetExists()
Check if an offset exists
- param mixed
- rtype
bool
offsetGet()
Get the value of an offset
- param mixed
- rtype
TaggableInterface
offsetSet()
Append a new item
- param mixed
- param TaggableInterface
- throws OutOfBoundsException
When item does not implement ZendTagTaggableInterface
- rtype
void
offsetUnset()
Unset an item
- param mixed
- rtype
void