HTMLPurifier 4.4.0
HTMLPurifier_HTMLModule_Legacy Class Reference

XHTML 1.1 Legacy module defines elements that were previously deprecated. More...

Inheritance diagram for HTMLPurifier_HTMLModule_Legacy:
HTMLPurifier_HTMLModule HTMLPurifier_HTMLModule

List of all members.

Public Member Functions

 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.
 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.

Public Attributes

 $name = 'Legacy'
 Short unique string identifier of the module.

Detailed Description

XHTML 1.1 Legacy module defines elements that were previously deprecated.

Note:
Not all legacy elements have been implemented yet, which is a bit of a reverse problem as compared to browsers! In addition, this legacy module may implement a bit more than mandated by XHTML 1.1.

This module can be used in combination with TransformToStrict in order to transform as many deprecated elements as possible, but retain questionably deprecated elements that do not have good alternatives as well as transform elements that don't have an implementation. See docs/ref-strictness.txt for more details.

Definition at line 19 of file Legacy.php.


Member Function Documentation

HTMLPurifier_HTMLModule_Legacy::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 24 of file Legacy.php.

References HTMLPurifier_HTMLModule::addBlankElement(), and HTMLPurifier_HTMLModule::addElement().

HTMLPurifier_HTMLModule_Legacy::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 12786 of file HTMLPurifier.standalone.php.

References HTMLPurifier_HTMLModule::addBlankElement(), and HTMLPurifier_HTMLModule::addElement().


Member Data Documentation

HTMLPurifier_HTMLModule_Legacy::$name = 'Legacy'

Short unique string identifier of the module.

Reimplemented from HTMLPurifier_HTMLModule.

Definition at line 22 of file Legacy.php.


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