Zend\Tag\ItemList
Synopsis
class ItemList
implements
Countable,SeekableIterator,ArrayAccess
{
- // members
- protected array $items;
- // methods
- public int count()
- public void spreadWeightValues()
- public void seek()
- public mixed current()
- public mixed next()
- public mixed key()
- public bool valid()
- public void rewind()
- public bool offsetExists()
- public TaggableInterface offsetGet()
- public void offsetSet()
- public void offsetUnset()
Hierarchy
Implements
Members
protected
- $items
—
array
Items in this list
Methods
public
- count() — Count all items
- current() — Return the current element
- key() — Return the key of the current element
- next() — Move forward to next element
- offsetExists() — Check if an offset exists
- offsetGet() — Get the value of an offset
- offsetSet() — Append a new item
- offsetUnset() — Unset an item
- rewind() — Rewind the Iterator to the first element
- seek() — Seek to an absolute position
- spreadWeightValues() — Spread values in the items relative to their weight
- valid() — Check if there is a current element after calls to rewind() or next()