API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_HTMLModule_Legacy Class Reference
Inheritance diagram for HTMLPurifier_HTMLModule_Legacy:
Collaboration diagram for HTMLPurifier_HTMLModule_Legacy:

Public Member Functions

 setup ($config)
 
- Public Member Functions inherited from HTMLPurifier_HTMLModule
 getChildDef ($def)
 
 addElement ($element, $type, $contents, $attr_includes=array(), $attr=array())
 
 addBlankElement ($element)
 
 addElementToContentSet ($element, $type)
 
 parseContents ($contents)
 
 mergeInAttrIncludes (&$attr, $attr_includes)
 
 makeLookup ($list)
 
 setup ($config)
 

Data Fields

 $name = 'Legacy'
 
- Data Fields inherited from HTMLPurifier_HTMLModule
 $name
 
 $elements = array()
 
 $info = array()
 
 $content_sets = array()
 
 $attr_collections = array()
 
 $info_tag_transform = array()
 
 $info_attr_transform_pre = array()
 
 $info_attr_transform_post = array()
 
 $info_injector = array()
 
 $defines_child_def = false
 
 $safe = true
 

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.

Member Function Documentation

◆ setup()

setup (   $config)
Parameters
HTMLPurifier_Config$config

Reimplemented from HTMLPurifier_HTMLModule.

Here is the call graph for this function:

Field Documentation

◆ $name

$name = 'Legacy'

@type string


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