XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Fonctions membres publiques | |
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.
|
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 |
Réimplémentée dans HTMLPurifier_Strategy_MakeWellFormed, HTMLPurifier_Strategy_FixNesting, HTMLPurifier_Strategy_Composite, HTMLPurifier_Strategy_RemoveForeignElements, et HTMLPurifier_Strategy_ValidateAttributes.