[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/Collections/ -> NormalizedList.php (summary)

(no description)

File Size: 162 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

NormalizedList:: (8 methods):
  add()
  append()
  delete()
  insert()
  normalizeKey()
  offsetSet()
  prepend()
  remove()


Class: NormalizedList  - X-Ref


add($value, $void = null)   X-Ref
Add (append) a value to this list

Alias for append(). Overrides NormalizedCollection::add()

return: mixed        Normalized value
param: mixed $value Original value
param: null  $void  Unused

append($value)   X-Ref
Append a value to this list

return: mixed        Normalized value
param: mixed $value Original value

delete($key)   X-Ref
Delete a value from this list and remove gaps in keys

NOTE: parent::offsetUnset() maps to $this->delete() so this method covers both usages

return: void
param: string $key

insert($offset, $value)   X-Ref
Insert a value at an arbitrary 0-based position

return: mixed           Normalized value
param: integer $offset
param: mixed   $value

normalizeKey($key)   X-Ref
Ensure that the key is a valid offset

Negative values count from the end of the list

return: integer
param: mixed   $key

offsetSet($offset, $value)   X-Ref
Custom offsetSet() implementation to allow assignment with a null offset to append to the
chain

return: void
param: mixed $offset
param: mixed $value

prepend($value)   X-Ref
Prepend a value to this list

return: mixed        Normalized value
param: mixed $value

remove($value)   X-Ref
Remove all items matching given value

return: integer        Number of items removed
param: mixed   $value Original value



Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1