Fully Qualified Name: | Laminas\Stdlib\PriorityList |
Implements: | Iterator, Countable |
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 |
Remove all items.
Returns: void
{@inheritDoc}
Returns:
{@inheritDoc}
Returns:
Get a item.
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: mixed
Returns: self
Insert a new item.
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$value | mixed | |
$priority | int |
Returns: void
Get/Set serial order mode
Parameter Name | Type | Description |
---|---|---|
$flag | bool|null |
Returns: bool
{@inheritDoc}
Returns:
{@inheritDoc}
Returns:
Remove a item.
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: void
{@inheritDoc}
Returns:
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$priority | int |
Returns: $this
Return list as array
Parameter Name | Type | Description |
---|---|---|
$flag | int |
Returns: array
{@inheritDoc}
Returns: