[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch




/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizations/ -> AbstractChooseOptimization.php (summary)

(no description)

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

Defines 8 functions


Functions that are not part of a class:

getAttributes(DOMElement $element)   X-Ref
Retrieve a list of attributes from given element

return: array NamespaceURI#nodeName as keys, attribute values as values

getBranches()   X-Ref
Return a list the xsl:when and xsl:otherwise children of current xsl:choose element

return: DOMElement[]

hasOtherwise()   X-Ref
Test whether current xsl:choose element has an xsl:otherwise child

return: bool

isEmpty()   X-Ref
Test whether current xsl:choose element has no content besides xsl:when and xsl:otherwise

return: bool

isEqualNode(DOMNode $node1, DOMNode $node2)   X-Ref
Test whether two nodes are identical

ext/dom does not support isEqualNode() from DOM Level 3 so this is a makeshift replacement.
Unlike the DOM 3 function, attributes order matters

param: DOMNode $node1
param: DOMNode $node2
return: bool

isEqualTag(DOMElement $el1, DOMElement $el2)   X-Ref
Test whether two elements have the same start tag

param: DOMElement $el1
param: DOMElement $el2
return: bool

normalizeElement(DOMElement $element)   X-Ref

reset()   X-Ref

Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1