XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_Strategy Class Reference
Inheritance diagram for HTMLPurifier_Strategy:
Inheritance graph

Public Member Functions

 execute ($tokens, $config, $context)
 

Detailed Description

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.

Member Function Documentation

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

Executes the strategy on the tokens.

Parameters
$tokensArray of HTMLPurifier_Token objects to be operated on.
$configConfiguration options
Returns
Processed array of token objects.

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