2 namespace TYPO3\CMS\Fluid\ViewHelpers;
78 public static function postParseEvent(\TYPO3\CMS\
Fluid\Core\Parser\SyntaxTree\ViewHelperNode $syntaxTreeNode, array $viewHelperArguments, \TYPO3\CMS\
Fluid\Core\ViewHelper\TemplateVariableContainer $variableContainer)
80 $sectionName = $viewHelperArguments[
'name']->getText();
81 if (!$variableContainer->exists(
'sections')) {
82 $variableContainer->add(
'sections', array());
84 $sections = $variableContainer->get(
'sections');
85 $sections[$sectionName] = $syntaxTreeNode;
86 $variableContainer->remove(
'sections');
87 $variableContainer->add(
'sections', $sections);
98 if ($this->viewHelperVariableContainer->exists(\TYPO3\CMS\
Fluid\ViewHelpers\SectionViewHelper::class,
'isCurrentlyRenderingSection')) {
99 $this->viewHelperVariableContainer->remove(\TYPO3\CMS\
Fluid\ViewHelpers\SectionViewHelper::class,
'isCurrentlyRenderingSection');
115 public function compile($argumentsVariableName, $renderChildrenClosureVariableName, &$initializationPhpCode, \TYPO3\CMS\
Fluid\Core\Parser\SyntaxTree\
AbstractNode $syntaxTreeNode, \TYPO3\CMS\
Fluid\Core\Compiler\
TemplateCompiler $templateCompiler)