getViewHelperResolver()->addNamespaces(array (
'core' =>
array (
0 => 'TYPO3\\CMS\\Core\\ViewHelpers',
),
'f' =>
array (
0 => 'TYPO3Fluid\\Fluid\\ViewHelpers',
1 => 'TYPO3\\CMS\\Fluid\\ViewHelpers',
),
'formvh' =>
array (
0 => 'TYPO3\\CMS\\Form\\ViewHelpers',
),
'sit' =>
array (
0 => 'SJBR\\StaticInfoTables\\ViewHelpers',
),
));
}
/**
* Main Render function
*/
public function render(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
$output0 = '';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\CountViewHelper
$renderChildrenClosure4 = function() use ($renderingContext) {
return $renderingContext->getVariableProvider()->getByPath('menu.menuItems');
};
$arguments3 = [
'subject' => NULL,
];
$renderChildrenClosure4 = ($arguments3['subject'] !== null) ? function() use ($arguments3) { return $arguments3['subject']; } : $renderChildrenClosure4;
$array2 = [
'0' => TYPO3Fluid\Fluid\ViewHelpers\CountViewHelper::renderStatic($arguments3, $renderChildrenClosure4, $renderingContext),
'1' => ' > 1',
];
$expression5 = function($context) {return (TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]) > 1);};
$arguments1 = [
'then' => NULL,
'else' => NULL,
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
$expression5(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array2)),
$renderingContext
),
'__then' => function() use ($renderingContext) {
$output6 = '';
$output6 .= '
';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
$array8 = [
'0' => $renderingContext->getVariableProvider()->getByPath('menu.label'),
];
$expression9 = function($context) {return TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]);};
$arguments7 = [
'then' => NULL,
'else' => NULL,
'condition' => TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
$expression9(TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array8)),
$renderingContext
),
'__then' => function() use ($renderingContext) {
$output10 = '';
$output10 .= '
';
return $output10;
},
];
$output6 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments7, static fn() => '', $renderingContext)
;
$output6 .= '
';
return $output6;
},
];
$output0 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments1, static fn() => '', $renderingContext)
;
$output0 .= '
';
return $output0;
}
}
#