TYPO3
7.6
|
Public Member Functions | |
__construct ($value) | |
evaluate (\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) | |
getValue () | |
addChildNode (\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface $childNode) | |
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 | |
$value | |
Protected Attributes inherited from AbstractNode | |
$childNodes = array() | |
Numeric Syntax Tree Node - is a container for numerics.
Definition at line 18 of file NumericNode.php.
__construct | ( | $value | ) |
Constructor.
string | number | $value | value to store in this numericNode |
\TYPO3\CMS\Fluid\Core\Parser\Exception |
Definition at line 32 of file NumericNode.php.
References NumericNode\$value.
addChildNode | ( | \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface | $childNode | ) |
NumericNode does not allow adding child nodes, so this will always throw an exception.
\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface | $childNode | The subnode to add |
\TYPO3\CMS\Fluid\Core\Parser\Exception |
Implements NodeInterface.
Definition at line 68 of file NumericNode.php.
evaluate | ( | \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface | $renderingContext | ) |
Return the value associated to the syntax tree.
\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface | $renderingContext |
Implements NodeInterface.
Definition at line 46 of file NumericNode.php.
References NumericNode\$value.
getValue | ( | ) |
Getter for value
Definition at line 56 of file NumericNode.php.
References NumericNode\$value.
|
protected |
Definition at line 24 of file NumericNode.php.
Referenced by NumericNode\__construct(), NumericNode\evaluate(), and NumericNode\getValue().