[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/TemplateChecks/ -> AbstractDynamicContentCheck.php (summary)

(no description)

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

Defines 16 functions

  check()
  detectUnknownAttributes()
  ignoreUnknownAttributes()
  checkAttribute()
  checkAttributeExpression()
  checkAttributeNode()
  checkContext()
  checkCopyOfNode()
  checkElementNode()
  checkExpression()
  checkNode()
  checkVariable()
  checkVariableDeclaration()
  checkSelectNode()
  isExpressionSafe()
  tagFiltersAttributes()

Functions
Functions that are not part of a class:

check(DOMElement $template, Tag $tag)   X-Ref
Look for improperly-filtered dynamic content

return: void
param: DOMElement $template <xsl:template/> node
param: Tag        $tag      Tag this template belongs to

detectUnknownAttributes()   X-Ref
Configure this template check to detect unknown attributes

return: void

ignoreUnknownAttributes()   X-Ref
Configure this template check to ignore unknown attributes

return: void

checkAttribute(DOMNode $node, Tag $tag, $attrName)   X-Ref
Test whether a tag attribute is safe

return: void
param: DOMNode $node     Context node
param: Tag     $tag      Source tag
param: string  $attrName Name of the attribute

checkAttributeExpression(DOMNode $node, Tag $tag, $expr)   X-Ref
Test whether an attribute expression is safe

return: void
param: DOMNode $node Context node
param: Tag     $tag  Source tag
param: string  $expr XPath expression that evaluates to one or multiple named attributes

checkAttributeNode(DOMAttr $attribute, Tag $tag)   X-Ref
Test whether an attribute node is safe

return: void
param: DOMAttr $attribute Attribute node
param: Tag     $tag       Reference tag

checkContext(DOMNode $node)   X-Ref
Test whether a node's context can be safely assessed

return: void
param: DOMNode $node Source node

checkCopyOfNode(DOMElement $node, Tag $tag)   X-Ref
Test whether an <xsl:copy-of/> node is safe

return: void
param: DOMElement $node <xsl:copy-of/> node
param: Tag        $tag  Reference tag

checkElementNode(DOMElement $element, Tag $tag)   X-Ref
Test whether an element node is safe

return: void
param: DOMElement $element Element
param: Tag        $tag     Reference tag

checkExpression(DOMNode $node, $expr, Tag $tag)   X-Ref
Test the safety of an XPath expression

return: void
param: DOMNode $node Source node
param: string  $expr XPath expression
param: Tag     $tag  Source tag

checkNode(DOMNode $node, Tag $tag)   X-Ref
Test whether a node is safe

return: void
param: DOMNode $node Source node
param: Tag     $tag  Reference tag

checkVariable(DOMNode $node, $tag, $qname)   X-Ref
Check whether a variable is safe in context

return: void
param: DOMNode $node  Context node
param: Tag     $tag   Source tag
param: string  $qname Name of the variable

checkVariableDeclaration(DOMNode $node, $tag, $query)   X-Ref
Check whether a variable declaration is safe in context

return: void
param: DOMNode $node  Context node
param: Tag     $tag   Source tag
param: string  $query XPath query

checkSelectNode(DOMAttr $select, Tag $tag)   X-Ref
Test whether a select attribute of a node is safe

return: void
param: DOMAttr $select Select attribute node
param: Tag     $tag    Reference tag

isExpressionSafe($expr)   X-Ref
Test whether given expression is safe in context

return: bool         Whether the expression is safe in context
param: string $expr XPath expression

tagFiltersAttributes(Tag $tag)   X-Ref
Test whether given tag filters attribute values

return: bool
param: Tag  $tag



Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1