[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/Helpers/ -> XPathHelper.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: 289 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 10 functions

  decodeStrings()
  encodeStrings()
  getVariables()
  isExpressionNumeric()
  minify()
  removeRedundantParentheses()
  parseEqualityExpr()
  evaluateConcat()
  evaluateLiteral()
  getXPathParser()

Functions
Functions that are not part of a class:

decodeStrings($expr)   X-Ref
Decode strings inside of an XPath expression

param: string $expr
return: string

encodeStrings($expr)   X-Ref
No description

getVariables($expr)   X-Ref
No description

isExpressionNumeric($expr)   X-Ref
Determine whether given XPath expression definitely evaluates to a number

param: string $expr XPath expression
return: bool         Whether given XPath expression definitely evaluates to a number

minify($expr)   X-Ref
Remove extraneous space in a given XPath expression

param: string $expr Original XPath expression
return: string       Minified XPath expression

removeRedundantParentheses(string $expr)   X-Ref
Remove consecutive parentheses where redundant


parseEqualityExpr($expr)   X-Ref
Parse an XPath expression that is composed entirely of equality tests between a variable part
and a constant part

param: string      $expr
return: array|false

evaluateConcat($expr)   X-Ref
Evaluate a concat() expression where all arguments are string literals

param: string $expr concat() expression
return: string       Expression's value

evaluateLiteral($expr)   X-Ref
Evaluate an XPath literal

param: string $expr XPath literal
return: string       Literal's string value

getXPathParser()   X-Ref
Generate and return a cached XPath parser with a default set of matchers

return: RecursiveParser



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