TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ArrayNode Class Reference
Inheritance diagram for TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ArrayNode:
TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface Tx_Fluid_Core_Parser_SyntaxTree_ArrayNode

Public Member Functions

 __construct ($internalArray)
 
 evaluate (\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
 
 getInternalArray ()
 
- Public Member Functions inherited from TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode
 evaluateChildNodes (\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
 
 getChildNodes ()
 
 addChildNode (\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface $childNode)
 

Protected Attributes

 $internalArray = array()
 
- Protected Attributes inherited from TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode
 $childNodes = array()
 

Detailed Description

Array Syntax Tree Node. Handles JSON-like arrays.

Definition at line 17 of file ArrayNode.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ArrayNode::__construct (   $internalArray)

Constructor.

Parameters
array$internalArrayArray to store

Definition at line 31 of file ArrayNode.php.

References TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ArrayNode\$internalArray.

Member Function Documentation

◆ evaluate()

TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ArrayNode::evaluate ( \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface  $renderingContext)

Evaluate the array and return an evaluated array

Parameters
\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface$renderingContext
Returns
array An associative array with literal values

Implements TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface.

Definition at line 41 of file ArrayNode.php.

◆ getInternalArray()

TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ArrayNode::getInternalArray ( )

INTERNAL; DO NOT CALL DIRECTLY!

Returns
array

Definition at line 59 of file ArrayNode.php.

References TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ArrayNode\$internalArray.

Member Data Documentation

◆ $internalArray

TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ArrayNode::$internalArray = array()
protected