Moodle  2.2.1
http://www.collinsharper.com
HTMLPurifier_AttrTransform_SafeParam Class Reference
Inheritance diagram for HTMLPurifier_AttrTransform_SafeParam:
Collaboration diagram for HTMLPurifier_AttrTransform_SafeParam:

Public Member Functions

 __construct ()
 transform ($attr, $config, $context)

Data Fields

 $name = "SafeParam"

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

Definition at line 20 of file SafeParam.php.


Member Function Documentation

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.


Field Documentation

$name = "SafeParam"

Definition at line 17 of file SafeParam.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations