TYPO3  7.6
ConstraintSyntaxTreeNode.php
Go to the documentation of this file.
1 <?php
2 namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Fixtures;
3 
4 /* *
5  * This script is backported from the TYPO3 Flow package "TYPO3.Fluid". *
6  * *
7  * It is free software; you can redistribute it and/or modify it under *
8  * the terms of the GNU Lesser General Public License, either version 3 *
9  * of the License, or (at your option) any later version. *
10  * *
11  * The TYPO3 project - inspiring people to share! *
12  * */
13 
18 {
19  public $callProtocol = array();
20 
24  protected $variableContainer;
25 
26  public function __construct(\TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer $variableContainer)
27  {
28  $this->variableContainer = $variableContainer;
29  }
30 
31  public function evaluateChildNodes(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
32  {
33  $identifiers = $this->variableContainer->getAllIdentifiers();
34  $callElement = array();
35  foreach ($identifiers as $identifier) {
36  $callElement[$identifier] = $this->variableContainer->get($identifier);
37  }
38  $this->callProtocol[] = $callElement;
39  }
40 
41  public function evaluate(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
42  {
43  }
44 }