[ Index ]

PHP Cross Reference of phpBB-3.3.2-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()

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

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

param: mixed $value Original value
return: mixed        Normalized 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

param: string $key
return: void

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

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

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

Negative values count from the end of the list

param: mixed   $key
return: integer

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

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

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

param: mixed $value
return: mixed        Normalized value

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

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



Generated: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1