HTMLPurifier 4.4.0
HTMLPurifier_Strategy_Composite Class Reference

Composite strategy that runs multiple strategies on tokens. More...

Inheritance diagram for HTMLPurifier_Strategy_Composite:
HTMLPurifier_Strategy HTMLPurifier_Strategy HTMLPurifier_Strategy_Core HTMLPurifier_Strategy_Core

List of all members.

Public Member Functions

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

Protected Attributes

 $strategies = array()
 List of strategies to run tokens through.

Detailed Description

Composite strategy that runs multiple strategies on tokens.

Definition at line 6 of file Composite.php.


Member Function Documentation

HTMLPurifier_Strategy_Composite::execute ( tokens,
config,
context 
)

Executes the strategy on the tokens.

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

Reimplemented from HTMLPurifier_Strategy.

Definition at line 14 of file Composite.php.

References $config.

HTMLPurifier_Strategy_Composite::execute ( tokens,
config,
context 
)

Executes the strategy on the tokens.

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

Reimplemented from HTMLPurifier_Strategy.

Definition at line 15429 of file HTMLPurifier.standalone.php.

References $config.


Member Data Documentation

HTMLPurifier_Strategy_Composite::$strategies = array() [protected]

List of strategies to run tokens through.

Definition at line 12 of file Composite.php.


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