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

Public Member Functions

 setup ($config)
 getChildDef ($def)

Data Fields

 $name = 'Edit'
 $defines_child_def = true

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

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.

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.

Here is the call graph for this function:


Field Documentation

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

$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 file:
 All Data Structures Namespaces Files Functions Variables Enumerations