ILIAS  release_4-4 Revision
HTMLPurifier_AttrTransform_SafeEmbed Class Reference
+ Inheritance diagram for HTMLPurifier_AttrTransform_SafeEmbed:
+ Collaboration diagram for HTMLPurifier_AttrTransform_SafeEmbed:

Public Member Functions

 transform ($attr, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_AttrTransform
 transform ($attr, $config, $context)
 Abstract: makes changes to the attributes dependent on multiple values. More...
 
 prependCSS (&$attr, $css)
 Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist. More...
 
 confiscateAttr (&$attr, $key)
 Retrieves and removes an attribute. More...
 

Data Fields

 $name = "SafeEmbed"
 

Detailed Description

Definition at line 3 of file SafeEmbed.php.

Member Function Documentation

◆ transform()

HTMLPurifier_AttrTransform_SafeEmbed::transform (   $attr,
  $config,
  $context 
)

Definition at line 7 of file SafeEmbed.php.

7  {
8  $attr['allowscriptaccess'] = 'never';
9  $attr['allownetworking'] = 'internal';
10  $attr['type'] = 'application/x-shockwave-flash';
11  return $attr;
12  }

Field Documentation

◆ $name

HTMLPurifier_AttrTransform_SafeEmbed::$name = "SafeEmbed"

Definition at line 5 of file SafeEmbed.php.


The documentation for this class was generated from the following file: