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

Public Member Functions

 setup ($config)

Data Fields

 $name = 'Object'
 $safe = false

Detailed Description

XHTML 1.1 Object Module, defines elements for generic object inclusion

Warning:
Users will commonly use <embed> to cater to legacy browsers: this module does not allow this sort of behavior

Definition at line 8 of file Object.php.


Member Function Documentation

setup ( config)

Lazy load construction of the module after determining whether or not it's needed, and also when a finalized configuration object is available.

Parameters:
$configInstance of HTMLPurifier_Config

Reimplemented from HTMLPurifier_HTMLModule.

Definition at line 14 of file Object.php.

Here is the call graph for this function:


Field Documentation

$name = 'Object'

Short unique string identifier of the module

Reimplemented from HTMLPurifier_HTMLModule.

Definition at line 11 of file Object.php.

$safe = false

Boolean flag whether or not this module is safe. If it is not safe, all of its members are unsafe. Modules are safe by default (this might be slightly dangerous, but it doesn't make much sense to force HTML Purifier, which is based off of safe HTML, to explicitly say, "This is safe," even though there are modules which are "unsafe")

Note:
Previously, safety could be applied at an element level granularity. We've removed this ability, so in order to add "unsafe" elements or attributes, a dedicated module with this property set to false must be used.

Reimplemented from HTMLPurifier_HTMLModule.

Definition at line 12 of file Object.php.


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