HTMLPurifier 4.4.0
HTMLPurifier_HTMLModule_Tidy_Strict Class Reference
Inheritance diagram for HTMLPurifier_HTMLModule_Tidy_Strict:
HTMLPurifier_HTMLModule_Tidy_XHTMLAndHTML4 HTMLPurifier_HTMLModule_Tidy_XHTMLAndHTML4 HTMLPurifier_HTMLModule_Tidy HTMLPurifier_HTMLModule_Tidy HTMLPurifier_HTMLModule_Tidy HTMLPurifier_HTMLModule_Tidy HTMLPurifier_HTMLModule HTMLPurifier_HTMLModule HTMLPurifier_HTMLModule HTMLPurifier_HTMLModule HTMLPurifier_HTMLModule HTMLPurifier_HTMLModule HTMLPurifier_HTMLModule HTMLPurifier_HTMLModule

List of all members.

Public Member Functions

 makeFixes ()
 Defines all fixes the module will perform in a compact associative array of fix name to fix implementation.
 getChildDef ($def)
 Retrieves a proper HTMLPurifier_ChildDef subclass based on content_model and content_model_type member variables of the HTMLPurifier_ElementDef class.
 makeFixes ()
 Defines all fixes the module will perform in a compact associative array of fix name to fix implementation.
 getChildDef ($def)
 Retrieves a proper HTMLPurifier_ChildDef subclass based on content_model and content_model_type member variables of the HTMLPurifier_ElementDef class.

Public Attributes

 $name = 'Tidy_Strict'
 Short unique string identifier of the module.
 $defaultLevel = 'light'
 Default level to place all fixes in.
 $defines_child_def = true
 Boolean flag that indicates whether or not getChildDef is implemented.

Detailed Description

Definition at line 3 of file Strict.php.


Member Function Documentation

HTMLPurifier_HTMLModule_Tidy_Strict::getChildDef ( def)

Retrieves a proper HTMLPurifier_ChildDef subclass based on content_model and content_model_type member variables of the HTMLPurifier_ElementDef class.

There is a similar function in HTMLPurifier_HTMLDefinition.

Parameters:
$defHTMLPurifier_ElementDef instance
Returns:
HTMLPurifier_ChildDef subclass

Reimplemented from HTMLPurifier_HTMLModule.

Definition at line 15 of file Strict.php.

References $def.

Referenced by getChildDef().

HTMLPurifier_HTMLModule_Tidy_Strict::getChildDef ( def)

Retrieves a proper HTMLPurifier_ChildDef subclass based on content_model and content_model_type member variables of the HTMLPurifier_ElementDef class.

There is a similar function in HTMLPurifier_HTMLDefinition.

Parameters:
$defHTMLPurifier_ElementDef instance
Returns:
HTMLPurifier_ChildDef subclass

Reimplemented from HTMLPurifier_HTMLModule.

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

References $def, and getChildDef().

HTMLPurifier_HTMLModule_Tidy_Strict::makeFixes ( )

Defines all fixes the module will perform in a compact associative array of fix name to fix implementation.

Reimplemented from HTMLPurifier_HTMLModule_Tidy_XHTMLAndHTML4.

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

References makeFixes().

HTMLPurifier_HTMLModule_Tidy_Strict::makeFixes ( )

Defines all fixes the module will perform in a compact associative array of fix name to fix implementation.

Reimplemented from HTMLPurifier_HTMLModule_Tidy_XHTMLAndHTML4.

Definition at line 8 of file Strict.php.

Referenced by makeFixes().


Member Data Documentation

HTMLPurifier_HTMLModule_Tidy_Strict::$defaultLevel = 'light'

Default level to place all fixes in.

Disabled by default

Reimplemented from HTMLPurifier_HTMLModule_Tidy.

Definition at line 6 of file Strict.php.

HTMLPurifier_HTMLModule_Tidy_Strict::$defines_child_def = true

Boolean flag that indicates whether or not getChildDef is implemented.

For optimization reasons: may save a call to a function. Be sure to set it if you do implement getChildDef(), otherwise it will have no effect!

Reimplemented from HTMLPurifier_HTMLModule.

Definition at line 14 of file Strict.php.

HTMLPurifier_HTMLModule_Tidy_Strict::$name = 'Tidy_Strict'

Short unique string identifier of the module.

Reimplemented from HTMLPurifier_HTMLModule.

Definition at line 5 of file Strict.php.


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