![]() |
TYPO3
7.6
|
Static Public Member Functions | |
static | postParseEvent (\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ViewHelperNode $syntaxTreeNode, array $viewHelperArguments,\TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer $variableContainer) |
Post Parse Facet. Your view helper should implement this if you want a callback to be called directly after the syntax tree node corresponding to this view helper has been built.
In the callback, it is possible to store some variables inside the parseVariableContainer (which is different from the runtime variable container!). This implicates that you usually have to adjust the in case you implement this facet.
Normally, this facet is not needed, except in really really rare cases.
Definition at line 26 of file PostParseInterface.php.
|
static |
Callback which is called directly after the corresponding syntax tree node to this view helper has been built. This is a parse-time callback, which does not change the rendering of a view helper.
You can store some data inside the variableContainer given here, which can be used f.e. inside the TemplateView.
\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ViewHelperNode | $syntaxTreeNode | The current node in the syntax tree corresponding to this view helper. |
array | $viewHelperArguments | View helper arguments as an array of SyntaxTrees. If you really need an argument, make sure to call $viewHelperArguments[$argName]->render(...)! |
\TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer | $variableContainer | Variable container you can use to pass on some variables to the view. |