ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
Composite.php
Go to the documentation of this file.
1 <?php
2 
7 {
8 
13  protected $strategies = array();
14 
21  public function execute($tokens, $config, $context)
22  {
23  foreach ($this->strategies as $strategy) {
24  $tokens = $strategy->execute($tokens, $config, $context);
25  }
26  return $tokens;
27  }
28 }
29 
30 // vim: et sw=4 sts=4
$strategies
List of strategies to run tokens through.
Definition: Composite.php:13
Composite strategy that runs multiple strategies on tokens.
Definition: Composite.php:6
Supertype for classes that define a strategy for modifying/purifying tokens.
Definition: Strategy.php:12
Create styles array
The data for the language used.
execute($tokens, $config, $context)
Definition: Composite.php:21