[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

(no description)

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

Defines 12 functions

  normalize()
  createElement()
  createText()
  createTextNode()
  getNodes()
  isXsl()
  lowercase()
  normalizeAttribute()
  normalizeElement()
  normalizeNode()
  reset()
  xpath()

Functions
Functions that are not part of a class:

normalize(DOMElement $template)   X-Ref
Apply this normalization rule to given template

param: DOMElement $template <xsl:template/> node
return: void

createElement($nodeName, $textContent = '')   X-Ref
Create an element in current template

param: string     $nodeName
param: string     $textContent
return: DOMElement

createText($content)   X-Ref
Create an xsl:text element or a text node in current template

param: string  $content
return: DOMNode

createTextNode($content)   X-Ref
Create a text node in current template

param: string  $content
return: DOMText

getNodes()   X-Ref
Query and return a list of nodes of interest

return: DOMNode[]

isXsl(DOMNode $node, $localName = null)   X-Ref
Test whether given node is an XSL element

param: DOMNode $node
param: string  $localName
return: bool

lowercase($str)   X-Ref
Make an ASCII string lowercase

param: string $str Original string
return: string      Lowercased string

normalizeAttribute(DOMAttr $attribute)   X-Ref
Normalize given attribute

param: DOMAttr $attribute
return: void

normalizeElement(DOMElement $element)   X-Ref
Normalize given element

param: DOMElement $element
return: void

normalizeNode(DOMNode $node)   X-Ref
Normalize given node

param: DOMNode $node
return: void

reset()   X-Ref
Reset this instance's properties after usage

return: void

xpath($query, DOMNode $node = null)   X-Ref
Evaluate given XPath expression

For convenience, $XSL is replaced with the XSL namespace URI as a string

param: string    $query XPath query
param: DOMNode   $node  Context node
return: DOMNode[]



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1