Moodle  2.2.1
http://www.collinsharper.com
HTMLPurifier_Strategy_Composite Class Reference
Inheritance diagram for HTMLPurifier_Strategy_Composite:
Collaboration diagram for HTMLPurifier_Strategy_Composite:

Public Member Functions

 __construct ()
 execute ($tokens, $config, $context)

Protected Attributes

 $strategies = array()

Detailed Description

Composite strategy that runs multiple strategies on tokens.

Definition at line 6 of file Composite.php.


Constructor & Destructor Documentation

__construct ( ) [abstract]

Reimplemented in HTMLPurifier_Strategy_Core.


Member Function Documentation

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 16 of file Composite.php.


Field Documentation

$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 file:
 All Data Structures Namespaces Files Functions Variables Enumerations