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

Public Member Functions

 prepare ($config, $context)
 handleElement (&$token)

Data Fields

 $config
 $attrValidator
 $removeNbsp
 $removeNbspExceptions

Detailed Description

Definition at line 3 of file RemoveEmpty.php.


Member Function Documentation

handleElement ( &$  token)

Handler that is called when a start or empty token is processed

Reimplemented from HTMLPurifier_Injector.

Definition at line 17 of file RemoveEmpty.php.

Here is the call graph for this function:

prepare ( config,
context 
)

Prepares the injector by giving it the config and context objects: this allows references to important variables to be made within the injector. This function also checks if the HTML environment will work with the Injector (see checkNeeded()).

Parameters:
$configInstance of HTMLPurifier_Config
$contextInstance of HTMLPurifier_Context
Returns:
Boolean false if success, string of missing needed element/attribute if failure

Reimplemented from HTMLPurifier_Injector.

Definition at line 8 of file RemoveEmpty.php.


Field Documentation

$attrValidator

Definition at line 6 of file RemoveEmpty.php.

$config

Definition at line 6 of file RemoveEmpty.php.

$removeNbsp

Definition at line 6 of file RemoveEmpty.php.

$removeNbspExceptions

Definition at line 6 of file RemoveEmpty.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations