HTMLPurifier 4.4.0
HTMLPurifier_AttrTransform_SafeParam Class Reference

Validates name/value pairs in param tags to be used in safe objects. More...

Inheritance diagram for HTMLPurifier_AttrTransform_SafeParam:
HTMLPurifier_AttrTransform HTMLPurifier_AttrTransform

List of all members.

Public Member Functions

 __construct ()
 transform ($attr, $config, $context)
 Abstract: makes changes to the attributes dependent on multiple values.
 __construct ()
 transform ($attr, $config, $context)
 Abstract: makes changes to the attributes dependent on multiple values.

Public Attributes

 $name = "SafeParam"

Private Attributes

 $uri

Detailed Description

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.

Note:
This class only supports Flash. In the future, Quicktime support may be added.
Warning:
This class expects an injector to add the necessary parameters tags.

Definition at line 15 of file SafeParam.php.


Constructor & Destructor Documentation

HTMLPurifier_AttrTransform_SafeParam::__construct ( )

Definition at line 20 of file SafeParam.php.

HTMLPurifier_AttrTransform_SafeParam::__construct ( )

Definition at line 11182 of file HTMLPurifier.standalone.php.


Member Function Documentation

HTMLPurifier_AttrTransform_SafeParam::transform ( attr,
config,
context 
)

Abstract: makes changes to the attributes dependent on multiple values.

Parameters:
$attrAssoc array of attributes, usually from HTMLPurifier_Token_Tag::$attr
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_Context object
Returns:
Processed attribute array.

Reimplemented from HTMLPurifier_AttrTransform.

Definition at line 25 of file SafeParam.php.

References $config.

HTMLPurifier_AttrTransform_SafeParam::transform ( attr,
config,
context 
)

Abstract: makes changes to the attributes dependent on multiple values.

Parameters:
$attrAssoc array of attributes, usually from HTMLPurifier_Token_Tag::$attr
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_Context object
Returns:
Processed attribute array.

Reimplemented from HTMLPurifier_AttrTransform.

Definition at line 11187 of file HTMLPurifier.standalone.php.

References $config.


Member Data Documentation

HTMLPurifier_AttrTransform_SafeParam::$name = "SafeParam"

Definition at line 17 of file SafeParam.php.

HTMLPurifier_AttrTransform_SafeParam::$uri [private]

Definition at line 18 of file SafeParam.php.


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