[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

/vendor/s9e/sweetdom/src/ -> Element.php (summary)

(no description)

Copyright: Copyright (c) 2019-2020 The s9e authors
License: http://www.opensource.org/licenses/mit-license.php The MIT License
File Size: 241 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Element:: (11 methods):
  __call()
  evaluate()
  firstOf()
  insertAdjacentElement()
  insertAdjacentText()
  insertAdjacentXML()
  query()
  remove()
  replace()
  addMissingNamespaceDeclarations()
  insertAdjacentNode()


Class: Element  - X-Ref


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

evaluate(string $expr)   X-Ref
Evaluate and return the result of a given XPath expression using this element as context node

param: string  $expr XPath expression
return: mixed

firstOf(string $expr)   X-Ref
Evaluate and return the first element of a given XPath query using this element as context node

param: string       $expr XPath expression
return: DOMNode|null

insertAdjacentElement(string $where, self $element)   X-Ref
Insert given element relative to this element's position

param: string $where   One of 'beforebegin', 'afterbegin', 'beforeend', 'afterend'
param: self   $element
return: self

insertAdjacentText(string $where, string $text)   X-Ref
Insert given text relative to this element's position

param: string $where One of 'beforebegin', 'afterbegin', 'beforeend', 'afterend'
param: string $text
return: void

insertAdjacentXML(string $where, string $xml)   X-Ref
Insert given XML relative to this element's position

param: string $where One of 'beforebegin', 'afterbegin', 'beforeend', 'afterend'
param: string $xml
return: void

query(string $expr)   X-Ref
Evaluate and return the result of a given XPath query using this element as context node

param: string      $expr XPath expression
return: DOMNodeList

remove()   X-Ref
Remove this element from the document

return: self This element

replace(self $element)   X-Ref
Replace this element with given element

param: self $element Replacement element
return: self          This element

addMissingNamespaceDeclarations(string $xml)   X-Ref
Add namespace declarations that may be missing in given XML

param: string $xml Original XML
return: string      Modified XML

insertAdjacentNode(string $where, DOMNode $node)   X-Ref
No description



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