Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
HTMLPurifier_Strategy Class Reference
Inheritance diagram for HTMLPurifier_Strategy:
HTMLPurifier_Strategy_Composite HTMLPurifier_Strategy_FixNesting HTMLPurifier_Strategy_MakeWellFormed HTMLPurifier_Strategy_RemoveForeignElements HTMLPurifier_Strategy_ValidateAttributes HTMLPurifier_Strategy_Core

Public Member Functions

 execute ($tokens, $config, $context)
 Executes the strategy on the tokens.
 

Member Function Documentation

◆ execute()

HTMLPurifier_Strategy::execute ( $tokens,
$config,
$context )
abstract

Executes the strategy on the tokens.

Parameters
HTMLPurifier_Token[]$tokensArray of HTMLPurifier_Token objects to be operated on.
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Return values
HTMLPurifier_Token[]Processed array of token objects.

Reimplemented in HTMLPurifier_Strategy_Composite, HTMLPurifier_Strategy_FixNesting, HTMLPurifier_Strategy_MakeWellFormed, HTMLPurifier_Strategy_RemoveForeignElements, and HTMLPurifier_Strategy_ValidateAttributes.


The documentation for this class was generated from the following file: