ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
HTMLPurifier_Strategy_Composite Class Reference

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

+ Inheritance diagram for HTMLPurifier_Strategy_Composite:
+ Collaboration diagram for HTMLPurifier_Strategy_Composite:

Public Member Functions

 execute ($tokens, $config, $context)

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 
)
Parameters
HTMLPurifier_Token[]$tokens
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Returns
HTMLPurifier_Token[]

Reimplemented from HTMLPurifier_Strategy.

Definition at line 21 of file Composite.php.

{
foreach ($this->strategies as $strategy) {
$tokens = $strategy->execute($tokens, $config, $context);
}
return $tokens;
}

Field Documentation

HTMLPurifier_Strategy_Composite::$strategies = array()
protected

List of strategies to run tokens through.

HTMLPurifier_Strategy[]

Definition at line 13 of file Composite.php.


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