RestrictFlashNetworking
class RestrictFlashNetworking extends AbstractFlashRestriction
Constants
XMLNS_XSL |
XSL namespace |
Properties
string | $defaultSetting | ||
string | $maxSetting | from AbstractFlashRestriction | |
bool | $onlyIfDynamic | from AbstractFlashRestriction | |
protected | $settingName | {@inheritdoc} | |
protected array | $settings | ||
protected DOMElement | $template | from AbstractFlashRestriction |
Methods
Constructor
Test whether given element has dynamic attributes that match the setting's name
Test whether given node contains dynamic content (XSL elements or attribute value template)
Get all elements the restriction applies to
Details
in
AbstractFlashRestriction at line 77
void
check(DOMElement $template, Tag $tag)
Test for the set Flash restriction
in
AbstractFlashRestriction at line 64
__construct(string $maxSetting, bool $onlyIfDynamic = false)
Constructor
in
AbstractFlashRestriction at line 90
protected void
checkAttributes(DOMElement $embed)
Test given element's attributes
in
AbstractFlashRestriction at line 115
protected void
checkDynamicAttributes(DOMElement $embed)
Test whether given element has dynamic attributes that match the setting's name
in
AbstractFlashRestriction at line 134
protected void
checkDynamicParams(DOMElement $object)
Test the presence of dynamic params in given object
in
AbstractFlashRestriction at line 154
protected void
checkEmbeds()
Check embed elements in given template
in
AbstractFlashRestriction at line 171
protected void
checkObjects()
Check object elements in given template
in
AbstractFlashRestriction at line 198
protected void
checkSetting(DOMNode $node, string $setting)
Test whether given setting is allowed
in
AbstractFlashRestriction at line 226
protected bool
isDynamic(DOMElement $node)
Test whether given node contains dynamic content (XSL elements or attribute value template)
in
AbstractFlashRestriction at line 255
protected DOMElement[]
getElements(string $tagName)
Get all elements the restriction applies to
in
AbstractFlashRestriction at line 275
protected DOMElement[]
getObjectParams(DOMElement $object)
Get all param elements attached to given object