HTMLPurifier 4.4.0
|
Public Member Functions | |
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. | |
handleElement (&$token) | |
Handler that is called when a start or empty token is processed. | |
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. | |
handleElement (&$token) | |
Handler that is called when a start or empty token is processed. | |
Public Attributes | |
$config | |
$attrValidator | |
$removeNbsp | |
$removeNbspExceptions | |
Private Attributes | |
$context |
Definition at line 3 of file RemoveEmpty.php.
HTMLPurifier_Injector_RemoveEmpty::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.
References HTMLPurifier_Injector::rewind().
HTMLPurifier_Injector_RemoveEmpty::handleElement | ( | &$ | token | ) |
Handler that is called when a start or empty token is processed.
Reimplemented from HTMLPurifier_Injector.
Definition at line 14492 of file HTMLPurifier.standalone.php.
References HTMLPurifier_Injector::rewind().
HTMLPurifier_Injector_RemoveEmpty::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()).
$config | Instance of HTMLPurifier_Config |
$context | Instance of HTMLPurifier_Context |
Reimplemented from HTMLPurifier_Injector.
Definition at line 14483 of file HTMLPurifier.standalone.php.
HTMLPurifier_Injector_RemoveEmpty::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()).
$config | Instance of HTMLPurifier_Config |
$context | Instance of HTMLPurifier_Context |
Reimplemented from HTMLPurifier_Injector.
Definition at line 8 of file RemoveEmpty.php.
References $config, and $context.
Referenced by prepare().
HTMLPurifier_Injector_RemoveEmpty::$attrValidator |
Definition at line 6 of file RemoveEmpty.php.
HTMLPurifier_Injector_RemoveEmpty::$config |
Definition at line 6 of file RemoveEmpty.php.
Referenced by prepare().
HTMLPurifier_Injector_RemoveEmpty::$context [private] |
Definition at line 6 of file RemoveEmpty.php.
Referenced by prepare().
HTMLPurifier_Injector_RemoveEmpty::$removeNbsp |
Definition at line 6 of file RemoveEmpty.php.
HTMLPurifier_Injector_RemoveEmpty::$removeNbspExceptions |
Definition at line 6 of file RemoveEmpty.php.