[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

Defines 11 functions

  __construct()
  check()
  checkAttributes()
  checkDynamicAttributes()
  checkDynamicParams()
  checkEmbeds()
  checkObjects()
  checkSetting()
  isDynamic()
  getElements()
  getObjectParams()

Functions
Functions that are not part of a class:

__construct($maxSetting, $onlyIfDynamic = false)   X-Ref
Constructor

param: string $maxSetting    Max setting allowed
param: bool   $onlyIfDynamic Whether this restriction applies only to elements using any kind

check(DOMElement $template, Tag $tag)   X-Ref
Test for the set Flash restriction

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

checkAttributes(DOMElement $embed)   X-Ref
Test given element's attributes

param: DOMElement $embed Context element
return: void

checkDynamicAttributes(DOMElement $embed)   X-Ref
Test whether given element has dynamic attributes that match the setting's name

param: DOMElement $embed Context element
return: void

checkDynamicParams(DOMElement $object)   X-Ref
Test the presence of dynamic params in given object

param: DOMElement $object Context element
return: void

checkEmbeds()   X-Ref
Check embed elements in given template

return: void

checkObjects()   X-Ref
Check object elements in given template

return: void

checkSetting(DOMNode $node, $setting)   X-Ref
Test whether given setting is allowed

param: DOMNode $node    Target node
param: string  $setting Setting
return: void

isDynamic(DOMElement $node)   X-Ref
Test whether given node contains dynamic content (XSL elements or attribute value template)

param: DOMElement $node Node
return: bool

getElements($tagName)   X-Ref
Get all elements the restriction applies to

param: string       $tagName Element's name
return: DOMElement[]

getObjectParams(DOMElement $object)   X-Ref
Get all param elements attached to given object

param: DOMElement   $object Context element
return: DOMElement[]



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