Cheetah
|
Public Member Functions | |
execute ($tokens, $config, $context) | |
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 8402 of file HTMLPurifier.standalone.php.
|
abstract |
Executes the strategy on the tokens.
HTMLPurifier_Token[] | $tokens | Array of HTMLPurifier_Token objects to be operated on. |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
Reimplemented in HTMLPurifier_Strategy_ValidateAttributes, HTMLPurifier_Strategy_RemoveForeignElements, HTMLPurifier_Strategy_MakeWellFormed, HTMLPurifier_Strategy_FixNesting, and HTMLPurifier_Strategy_Composite.