[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/_test/vendor/scotteh/php-dom-wrapper/src/ -> NodeList.php (summary)

(no description)

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

Defines 1 class

NodeList:: (25 methods):
  __construct()
  __call()
  collection()
  document()
  result()
  reverse()
  first()
  last()
  end()
  get()
  set()
  each()
  map()
  reduce()
  toArray()
  fromArray()
  merge()
  slice()
  push()
  pop()
  unshift()
  shift()
  exists()
  delete()
  isRemoved()


Class: NodeList  - X-Ref

Node List

__construct(Document $document = null, iterable $nodes = null)   X-Ref

param: Document $document
param: iterable $nodes

__call(string $name, array $arguments)   X-Ref

param: string $name
param: array $arguments
return: mixed

collection()   X-Ref
{@inheritdoc}


document()   X-Ref
{@inheritdoc}


result(NodeList $nodeList)   X-Ref
{@inheritdoc}


reverse()   X-Ref

return: NodeList

first()   X-Ref

return: mixed

last()   X-Ref

return: mixed

end()   X-Ref

return: mixed

get(int $key)   X-Ref

param: int $key
return: mixed

set(int $key, $value)   X-Ref

param: int $key
param: mixed $value
return: self

each(callable $function)   X-Ref

param: callable $function
return: self

map(callable $function)   X-Ref

param: callable $function
return: NodeList

reduce(callable $function, $initial = null)   X-Ref

param: callable $function
param: mixed|null $initial
return: iterable

toArray()   X-Ref

return: array

fromArray(iterable $nodes = null)   X-Ref

param: iterable $nodes

merge($elements = [])   X-Ref

param: NodeList|array $elements
return: NodeList

slice(int $start, int $end = null)   X-Ref

param: int $start
param: int $end
return: NodeList

push(\DOMNode $node)   X-Ref

param: \DOMNode $node
return: self

pop()   X-Ref

return: \DOMNode

unshift(\DOMNode $node)   X-Ref

param: \DOMNode $node
return: self

shift()   X-Ref

return: \DOMNode

exists(\DOMNode $node)   X-Ref

param: \DOMNode $node
return: bool

delete(\DOMNode $node)   X-Ref

param: \DOMNode $node
return: self

isRemoved()   X-Ref

return: bool