TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
ArrayNode Class Reference
Inheritance diagram for ArrayNode:
AbstractNode NodeInterface

Public Member Functions

 __construct ($internalArray)
 
 evaluate (\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
 
 getInternalArray ()
 
- Public Member Functions inherited from 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 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 (   $internalArray)

Constructor.

Parameters
array$internalArrayArray to store

Definition at line 31 of file ArrayNode.php.

References ArrayNode\$internalArray.

Member Function Documentation

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 NodeInterface.

Definition at line 42 of file ArrayNode.php.

getInternalArray ( )

INTERNAL; DO NOT CALL DIRECTLY!

Returns
array

Definition at line 61 of file ArrayNode.php.

References ArrayNode\$internalArray.

Member Data Documentation

$internalArray = array()
protected

Definition at line 24 of file ArrayNode.php.

Referenced by ArrayNode\__construct(), and ArrayNode\getInternalArray().