[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/TemplateChecks/ -> AbstractDynamicContentCheck.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: 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

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

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

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

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

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

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

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

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

param: DOMNode $node Source node
return: void

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

param: Tag  $tag
return: bool



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