Class PriorityList

Summary

Fully Qualified Name: Zend\Stdlib\PriorityList
Implements: Iterator, Countable

Description

Methods

Name Description Defined By
clear() Remove all items. PriorityList
count() {@inheritDoc} PriorityList
current() {@inheritDoc} PriorityList
get() Get a item. PriorityList
getIterator() PriorityList
insert() Insert a new item. PriorityList
isLIFO() Get/Set serial order mode PriorityList
key() {@inheritDoc} PriorityList
next() {@inheritDoc} PriorityList
remove() Remove a item. PriorityList
rewind() {@inheritDoc} PriorityList
setPriority() PriorityList
toArray() Return list as array PriorityList
valid() {@inheritDoc} PriorityList

Method Details

clear()

Remove all items.

Returns: void

count()

{@inheritDoc}

Returns:

current()

{@inheritDoc}

Returns:

get()

Get a item.

Parameter Name Type Description
$name string

Returns: mixed

getIterator()

Returns: self

insert()

Insert a new item.

Parameter Name Type Description
$name string
$value mixed
$priority int

Returns: void

isLIFO()

Get/Set serial order mode

Parameter Name Type Description
$flag bool|null

Returns: bool

key()

{@inheritDoc}

Returns:

next()

{@inheritDoc}

Returns:

remove()

Remove a item.

Parameter Name Type Description
$name string

Returns: void

rewind()

{@inheritDoc}

Returns:

setPriority()

Parameter Name Type Description
$name string
$priority int

Returns: $this

toArray()

Return list as array

Parameter Name Type Description
$flag int

Returns: array

valid()

{@inheritDoc}

Returns:

Top