Class HTMLPurifier_AttrTransform_SafeParam
Inheritance | HTMLPurifier_AttrTransform_SafeParam » HTMLPurifier_AttrTransform |
---|
Validates name/value pairs in param tags to be used in safe objects. This will only allow name values it recognizes, and pre-fill certain attributes with required values.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$name | HTMLPurifier_AttrTransform_SafeParam |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | HTMLPurifier_AttrTransform_SafeParam | |
confiscateAttr() | Retrieves and removes an attribute | HTMLPurifier_AttrTransform |
prependCSS() | Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist. | HTMLPurifier_AttrTransform |
transform() | HTMLPurifier_AttrTransform_SafeParam |
Property Details
Method Details
public void __construct ( ) |
public array transform ( $attr, $config, $context ) | ||
$attr | array | |
$config | HTMLPurifier_Config | |
$context | HTMLPurifier_Context |