HTMLPurifier 4.4.0
HTMLPurifier_HTMLModule_Edit Class Reference

XHTML 1.1 Edit Module, defines editing-related elements. More...

Inheritance diagram for HTMLPurifier_HTMLModule_Edit:
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.
 getChildDef ($def)
 Retrieves a proper HTMLPurifier_ChildDef subclass based on content_model and content_model_type member variables of the HTMLPurifier_ElementDef class.
 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.
 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 = 'Edit'
 Short unique string identifier of the module.
 $defines_child_def = true
 Boolean flag that indicates whether or not getChildDef is implemented.

Detailed Description

XHTML 1.1 Edit Module, defines editing-related elements.

Text Extension Module.

Definition at line 7 of file Edit.php.


Member Function Documentation

HTMLPurifier_HTMLModule_Edit::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 30 of file Edit.php.

References $def.

HTMLPurifier_HTMLModule_Edit::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 12521 of file HTMLPurifier.standalone.php.

References $def.

HTMLPurifier_HTMLModule_Edit::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 12503 of file HTMLPurifier.standalone.php.

References HTMLPurifier_HTMLModule::addElement().

HTMLPurifier_HTMLModule_Edit::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 12 of file Edit.php.

References HTMLPurifier_HTMLModule::addElement().


Member Data Documentation

HTMLPurifier_HTMLModule_Edit::$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 29 of file Edit.php.

HTMLPurifier_HTMLModule_Edit::$name = 'Edit'

Short unique string identifier of the module.

Reimplemented from HTMLPurifier_HTMLModule.

Definition at line 10 of file Edit.php.


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