[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/zendframework/zend-stdlib/src/ -> PriorityList.php (summary)

Zend Framework (http://framework.zend.com/)

Copyright: Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 271 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PriorityList:: (16 methods):
  insert()
  setPriority()
  remove()
  clear()
  get()
  sort()
  compare()
  isLIFO()
  rewind()
  current()
  key()
  next()
  valid()
  getIterator()
  count()
  toArray()


Class: PriorityList  - X-Ref

insert($name, $value, $priority = 0)   X-Ref
Insert a new item.

param: string  $name
param: mixed   $value
param: int     $priority
return: void

setPriority($name, $priority)   X-Ref

param: string $name
param: int    $priority
return: $this

remove($name)   X-Ref
Remove a item.

param: string $name
return: void

clear()   X-Ref
Remove all items.

return: void

get($name)   X-Ref
Get a item.

param: string $name
return: mixed

sort()   X-Ref
Sort all items.

return: void

compare(array $item1, array $item2)   X-Ref
Compare the priority of two items.

param: array $item1,
param: array $item2
return: int

isLIFO($flag = null)   X-Ref
Get/Set serial order mode

param: bool|null $flag
return: bool

rewind()   X-Ref
{@inheritDoc}


current()   X-Ref
{@inheritDoc}


key()   X-Ref
{@inheritDoc}


next()   X-Ref
{@inheritDoc}


valid()   X-Ref
{@inheritDoc}


getIterator()   X-Ref

return: self

count()   X-Ref
{@inheritDoc}


toArray($flag = self::EXTR_DATA)   X-Ref
Return list as array

param: int $flag
return: array



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1