ILIAS
Release_4_2_x_branch Revision 61807
|
Supertype for classes that define a strategy for modifying/purifying tokens. More...
Public Member Functions | |
execute ($tokens, $config, $context) | |
Executes the strategy on the tokens. |
Supertype for classes that define a strategy for modifying/purifying tokens.
While HTMLPurifier's core purpose is fixing HTML into something proper, strategies provide plug points for extra configuration or even extra features, such as custom tags, custom parsing of text, etc.
Definition at line 12 of file Strategy.php.
|
abstract |
Executes the strategy on the tokens.
$tokens | Array of HTMLPurifier_Token objects to be operated on. |
$config | Configuration options |
Reimplemented in HTMLPurifier_Strategy_MakeWellFormed, HTMLPurifier_Strategy_FixNesting, HTMLPurifier_Strategy_Composite, HTMLPurifier_Strategy_RemoveForeignElements, and HTMLPurifier_Strategy_ValidateAttributes.