Files
gutachten_t3/var/cache/code/fluid_template/partial_ButtonBar_0166434e7eda7a6ef42e9afc2bba9e69c8a5e491.php
T

248 lines
7.2 KiB
PHP

<?php
class partial_ButtonBar_0166434e7eda7a6ef42e9afc2bba9e69c8a5e491 extends \TYPO3Fluid\Fluid\Core\Compiler\AbstractCompiledTemplate {
public function getLayoutName(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
$self = $this;
return (string) '';
}
public function hasLayout() {
return FALSE;
}
public function addCompiledNamespaces(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
$renderingContext->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',
),
'bk2k' =>
array (
0 => 'BK2K\\BootstrapPackage\\ViewHelpers',
),
));
}
/**
* Main Render function
*/
public function render(\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
$self = $this;
$output0 = '';
$output0 .= '<div class="btn-toolbar" role="toolbar" aria-label="">
';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper
$renderChildrenClosure2 = function() use ($renderingContext, $self) {
$output4 = '';
$output4 .= '
';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper
$renderChildrenClosure6 = function() use ($renderingContext, $self) {
$output24 = '';
$output24 .= '
';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ThenViewHelper
$renderChildrenClosure26 = function() use ($renderingContext, $self) {
$output27 = '';
$output27 .= '
<div class="btn-group" role="group" aria-label="">
';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper
$renderChildrenClosure29 = function() use ($renderingContext, $self) {
$output31 = '';
$output31 .= '
';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
$renderChildrenClosure33 = function() use ($renderingContext, $self) {
$array34 = array (
);return $renderingContext->getVariableProvider()->getByPath('button', $array34);
};
$arguments32 = array();
$arguments32['value'] = NULL;
$output31 .= isset($arguments32['value']) ? $arguments32['value'] : $renderChildrenClosure33();
$output31 .= '
';
return $output31;
};
$arguments28 = array();
$arguments28['each'] = NULL;
$arguments28['as'] = NULL;
$arguments28['key'] = NULL;
$arguments28['reverse'] = false;
$arguments28['iteration'] = NULL;
$array30 = array (
);$arguments28['each'] = $renderingContext->getVariableProvider()->getByPath('buttonGroup', $array30);
$arguments28['as'] = 'button';
$output27 .= TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments28, $renderChildrenClosure29, $renderingContext);
$output27 .= '
</div>
';
return $output27;
};
$arguments25 = array();
$output24 .= '';
$output24 .= '
';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ElseViewHelper
$renderChildrenClosure36 = function() use ($renderingContext, $self) {
$output37 = '';
$output37 .= '
';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
$renderChildrenClosure39 = function() use ($renderingContext, $self) {
$array40 = array (
);return $renderingContext->getVariableProvider()->getByPath('buttonGroup.0', $array40);
};
$arguments38 = array();
$arguments38['value'] = NULL;
$output37 .= isset($arguments38['value']) ? $arguments38['value'] : $renderChildrenClosure39();
$output37 .= '
';
return $output37;
};
$arguments35 = array();
$arguments35['if'] = NULL;
$output24 .= '';
$output24 .= '
';
return $output24;
};
$arguments5 = array();
$arguments5['then'] = NULL;
$arguments5['else'] = NULL;
$arguments5['condition'] = false;
// Rendering Boolean node
// Rendering Array
$array19 = array();
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\CountViewHelper
$renderChildrenClosure21 = function() use ($renderingContext, $self) {
$array22 = array (
);return $renderingContext->getVariableProvider()->getByPath('buttonGroup', $array22);
};
$arguments20 = array();
$arguments20['subject'] = NULL;
$renderChildrenClosure21 = ($arguments20['subject'] !== null) ? function() use ($arguments20) { return $arguments20['subject']; } : $renderChildrenClosure21;$array19['0'] = TYPO3Fluid\Fluid\ViewHelpers\CountViewHelper::renderStatic($arguments20, $renderChildrenClosure21, $renderingContext);
$array19['1'] = ' > 1';
$expression23 = function($context) {return (TYPO3Fluid\Fluid\Core\Parser\BooleanParser::convertNodeToBoolean($context["node0"]) > 1);};
$arguments5['condition'] = TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(
$expression23(
TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\BooleanNode::gatherContext($renderingContext, $array19)
),
$renderingContext
);
$arguments5['__thenClosure'] = function() use ($renderingContext, $self) {
$output7 = '';
$output7 .= '
<div class="btn-group" role="group" aria-label="">
';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper
$renderChildrenClosure9 = function() use ($renderingContext, $self) {
$output11 = '';
$output11 .= '
';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
$renderChildrenClosure13 = function() use ($renderingContext, $self) {
$array14 = array (
);return $renderingContext->getVariableProvider()->getByPath('button', $array14);
};
$arguments12 = array();
$arguments12['value'] = NULL;
$output11 .= isset($arguments12['value']) ? $arguments12['value'] : $renderChildrenClosure13();
$output11 .= '
';
return $output11;
};
$arguments8 = array();
$arguments8['each'] = NULL;
$arguments8['as'] = NULL;
$arguments8['key'] = NULL;
$arguments8['reverse'] = false;
$arguments8['iteration'] = NULL;
$array10 = array (
);$arguments8['each'] = $renderingContext->getVariableProvider()->getByPath('buttonGroup', $array10);
$arguments8['as'] = 'button';
$output7 .= TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments8, $renderChildrenClosure9, $renderingContext);
$output7 .= '
</div>
';
return $output7;
};
$arguments5['__elseClosures'][] = function() use ($renderingContext, $self) {
$output15 = '';
$output15 .= '
';
// Rendering ViewHelper TYPO3Fluid\Fluid\ViewHelpers\Format\RawViewHelper
$renderChildrenClosure17 = function() use ($renderingContext, $self) {
$array18 = array (
);return $renderingContext->getVariableProvider()->getByPath('buttonGroup.0', $array18);
};
$arguments16 = array();
$arguments16['value'] = NULL;
$output15 .= isset($arguments16['value']) ? $arguments16['value'] : $renderChildrenClosure17();
$output15 .= '
';
return $output15;
};
$output4 .= TYPO3Fluid\Fluid\ViewHelpers\IfViewHelper::renderStatic($arguments5, $renderChildrenClosure6, $renderingContext);
$output4 .= '
';
return $output4;
};
$arguments1 = array();
$arguments1['each'] = NULL;
$arguments1['as'] = NULL;
$arguments1['key'] = NULL;
$arguments1['reverse'] = false;
$arguments1['iteration'] = NULL;
$array3 = array (
);$arguments1['each'] = $renderingContext->getVariableProvider()->getByPath('buttons', $array3);
$arguments1['as'] = 'buttonGroup';
$output0 .= TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments1, $renderChildrenClosure2, $renderingContext);
$output0 .= '
</div>
';
return $output0;
}
}
#