category |
Zend |
package |
Zend_Tag |
copyright |
Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license |
New BSD License |
Methods
Count all items
count() : integer
Return the current element
current() : mixed
Return the key of the current element
key() : mixed
Move forward to next element
next() : mixed
Check if an offset exists
offsetExists(mixed $offset) : boolean
Parameters
$offset
mixed
Returns
boolean
Get the value of an offset
offsetGet(mixed $offset) : \Zend_Tag_Taggable
Parameters
$offset
mixed
Returns
\Zend_Tag_Taggable
Append a new item
offsetSet(mixed $offset, \Zend_Tag_Taggable $item) : void
Parameters
$offset
mixed
$item
\Zend_Tag_Taggable
Exceptions
\OutOfBoundsException |
When item does not implement Zend_Tag_Taggable |
Unset an item
offsetUnset(mixed $offset) : void
Rewind the Iterator to the first element
rewind() : void
Seek to an absolute positio
seek(integer $index) : void
Parameters
$index
integer
Exceptions
\OutOfBoundsException |
When the seek position is invalid |
Spread values in the items relative to their weight
spreadWeightValues(array $values) : void
Parameters
$values
array
Exceptions
\Zend_Tag_Exception |
When value list is empty |
Check if there is a current element after calls to rewind() or next()
valid() : boolean
Properties
Items in this list
$_items : array