[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/ -> Renderer.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 (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 12 functions

  loadXML()
  render()
  renderPlainText()
  getParameter()
  getParameters()
  setParameter()
  setParameters()
  checkUnsupported()
  decodeSMP()
  decodeEntity()
  restoreLocale()
  setLocale()

Functions
Functions that are not part of a class:

loadXML($xml)   X-Ref
Create a return a new DOMDocument loaded with given XML

param: string      $xml Source XML
return: DOMDocument

render($xml)   X-Ref
Render an intermediate representation

param: string $xml Intermediate representation
return: string      Rendered result

renderPlainText($xml)   X-Ref
Render an intermediate representation of plain text

param: string $xml Intermediate representation
return: string      Rendered result

getParameter($paramName)   X-Ref
Get the value of a parameter

param: string $paramName
return: string

getParameters()   X-Ref
Get the values of all parameters

return: array Associative array of parameter names and values

setParameter($paramName, $paramValue)   X-Ref
Set the value of a parameter from the stylesheet

param: string $paramName  Parameter name
param: mixed  $paramValue Parameter's value
return: void

setParameters(array $params)   X-Ref
Set the values of several parameters from the stylesheet

param: array $params Associative array of [parameter name => parameter value]
return: void

checkUnsupported($xml)   X-Ref
Test for the presence of unsupported XML and throw an exception if found

param: string $xml XML
return: void

decodeSMP($str)   X-Ref
Decode encoded characters from the Supplementary Multilingual Plane

param: string $str Encoded string
return: string      Decoded string

decodeEntity(array $m)   X-Ref
Decode a matched SGML entity

param: string[] $m Captures from PCRE
return: string      Decoded entity

restoreLocale()   X-Ref
Restore the original locale


setLocale()   X-Ref
Temporarily set the locale to C




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