/** * Main Render function */ public function render(\TYPO3\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $self = $this; $output0 = ''; $output0 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments1 = array(); $arguments1['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'items', $renderingContext); $arguments1['as'] = 'item'; $arguments1['key'] = NULL; $arguments1['reverse'] = false; $arguments1['iteration'] = NULL; $renderChildrenClosure2 = function () use($renderingContext, $self) { $output3 = ''; $output3 .= ' <tr> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments4 = array(); $arguments4['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'schema.listProperties', $renderingContext); $arguments4['as'] = 'property'; $arguments4['iteration'] = 'iteration'; $arguments4['key'] = NULL; $arguments4['reverse'] = false; $renderChildrenClosure5 = function () use($renderingContext, $self) { $output6 = ''; $output6 .= ' <td> '; // Rendering ViewHelper Flowpack\Expose\ViewHelpers\PropertyViewHelper $arguments7 = array(); $arguments7['object'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'item', $renderingContext); $arguments7['name'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'property.path', $renderingContext); $renderChildrenClosure8 = function () use($renderingContext, $self) { return NULL; }; $viewHelper9 = $self->getViewHelper('$viewHelper9', $renderingContext, 'Flowpack\\Expose\\ViewHelpers\\PropertyViewHelper'); $viewHelper9->setArguments($arguments7); $viewHelper9->setRenderingContext($renderingContext); $viewHelper9->setRenderChildrenClosure($renderChildrenClosure8); // End of ViewHelper Flowpack\Expose\ViewHelpers\PropertyViewHelper $output6 .= $viewHelper9->initializeArgumentsAndRender(); $output6 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\IfViewHelper $arguments10 = array(); // Rendering Boolean node $stack11 = unserialize('a:1:{i:0;O:53:"TYPO3\\Fluid\\Core\\Parser\\SyntaxTree\\ObjectAccessorNode":2:{s:13:"*objectPath";s:17:"iteration.isFirst";s:13:"*childNodes";a:0:{}}}'); $arguments10['condition'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\BooleanNode::evaluateStack($renderingContext, $stack11); $arguments10['then'] = NULL; $arguments10['else'] = NULL; $renderChildrenClosure12 = function () use($renderingContext, $self) { $output13 = ''; $output13 .= ' <div class="expose-actions"> <a href="profiles/edit/'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments14 = array(); $arguments14['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'item.id', $renderingContext); $arguments14['keepQuotes'] = false; $arguments14['encoding'] = 'UTF-8'; $arguments14['doubleEncode'] = true; $renderChildrenClosure15 = function () use($renderingContext, $self) { return NULL; }; $value16 = $arguments14['value'] !== NULL ? $arguments14['value'] : $renderChildrenClosure15(); $output13 .= !is_string($value16) && !(is_object($value16) && method_exists($value16, '__toString')) ? $value16 : htmlspecialchars($value16, $arguments14['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments14['encoding'], $arguments14['doubleEncode']); $output13 .= '">Edit</a> </div> '; return $output13; }; $viewHelper17 = $self->getViewHelper('$viewHelper17', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\IfViewHelper'); $viewHelper17->setArguments($arguments10); $viewHelper17->setRenderingContext($renderingContext); $viewHelper17->setRenderChildrenClosure($renderChildrenClosure12); // End of ViewHelper TYPO3\Fluid\ViewHelpers\IfViewHelper $output6 .= $viewHelper17->initializeArgumentsAndRender(); $output6 .= ' </td> '; return $output6; }; $output3 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments4, $renderChildrenClosure5, $renderingContext); $output3 .= ' <tr> '; return $output3; }; $output0 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments1, $renderChildrenClosure2, $renderingContext); return $output0; }
/** * Main Render function */ public function render(\TYPO3\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $self = $this; $output45 = ''; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments46 = array(); // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments47 = array(); $arguments47['name'] = 'Default'; $renderChildrenClosure48 = function () use($renderingContext, $self) { return NULL; }; $viewHelper49 = $self->getViewHelper('$viewHelper49', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\LayoutViewHelper'); $viewHelper49->setArguments($arguments47); $viewHelper49->setRenderingContext($renderingContext); $viewHelper49->setRenderChildrenClosure($renderChildrenClosure48); // End of ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments46['value'] = $viewHelper49->initializeArgumentsAndRender(); $arguments46['keepQuotes'] = false; $arguments46['encoding'] = 'UTF-8'; $arguments46['doubleEncode'] = true; $renderChildrenClosure50 = function () use($renderingContext, $self) { return NULL; }; $value51 = $arguments46['value'] !== NULL ? $arguments46['value'] : $renderChildrenClosure50(); $output45 .= !is_string($value51) && !(is_object($value51) && method_exists($value51, '__toString')) ? $value51 : htmlspecialchars($value51, $arguments46['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments46['encoding'], $arguments46['doubleEncode']); $output45 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments52 = array(); $arguments52['name'] = 'Title'; $renderChildrenClosure53 = function () use($renderingContext, $self) { $output54 = ''; $output54 .= 'Edit category "'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments55 = array(); $arguments55['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'category.title', $renderingContext); $arguments55['keepQuotes'] = false; $arguments55['encoding'] = 'UTF-8'; $arguments55['doubleEncode'] = true; $renderChildrenClosure56 = function () use($renderingContext, $self) { return NULL; }; $value57 = $arguments55['value'] !== NULL ? $arguments55['value'] : $renderChildrenClosure56(); $output54 .= !is_string($value57) && !(is_object($value57) && method_exists($value57, '__toString')) ? $value57 : htmlspecialchars($value57, $arguments55['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments55['encoding'], $arguments55['doubleEncode']); $output54 .= '"'; return $output54; }; $output45 .= ''; $output45 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments58 = array(); $arguments58['name'] = 'Navigation'; $renderChildrenClosure59 = function () use($renderingContext, $self) { $output60 = ''; $output60 .= ' <nav class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navigation" aria-expanded="false"> <span class="sr-only">Toggle Navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">MyBlog</a> </div> <div class="collapse navbar-collapse" id="navigation"> <ul class="nav navbar-nav"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments61 = array(); $arguments61['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'listCategories', $renderingContext); $arguments61['as'] = 'navCategory'; $arguments61['key'] = ''; $arguments61['reverse'] = false; $arguments61['iteration'] = NULL; $renderChildrenClosure62 = function () use($renderingContext, $self) { $output63 = ''; $output63 .= ' <li> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments64 = array(); $arguments64['action'] = 'show'; $arguments64['controller'] = 'category'; // Rendering Array $array65 = array(); $array65['category'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'navCategory', $renderingContext); $arguments64['arguments'] = $array65; $arguments64['additionalAttributes'] = NULL; $arguments64['data'] = NULL; $arguments64['package'] = NULL; $arguments64['subpackage'] = NULL; $arguments64['section'] = ''; $arguments64['format'] = ''; $arguments64['additionalParams'] = array(); $arguments64['addQueryString'] = false; $arguments64['argumentsToBeExcludedFromQueryString'] = array(); $arguments64['useParentRequest'] = false; $arguments64['absolute'] = true; $arguments64['class'] = NULL; $arguments64['dir'] = NULL; $arguments64['id'] = NULL; $arguments64['lang'] = NULL; $arguments64['style'] = NULL; $arguments64['title'] = NULL; $arguments64['accesskey'] = NULL; $arguments64['tabindex'] = NULL; $arguments64['onclick'] = NULL; $arguments64['name'] = NULL; $arguments64['rel'] = NULL; $arguments64['rev'] = NULL; $arguments64['target'] = NULL; $renderChildrenClosure66 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments67 = array(); $arguments67['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'navCategory.title', $renderingContext); $arguments67['keepQuotes'] = false; $arguments67['encoding'] = 'UTF-8'; $arguments67['doubleEncode'] = true; $renderChildrenClosure68 = function () use($renderingContext, $self) { return NULL; }; $value69 = $arguments67['value'] !== NULL ? $arguments67['value'] : $renderChildrenClosure68(); return !is_string($value69) && !(is_object($value69) && method_exists($value69, '__toString')) ? $value69 : htmlspecialchars($value69, $arguments67['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments67['encoding'], $arguments67['doubleEncode']); }; $viewHelper70 = $self->getViewHelper('$viewHelper70', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper70->setArguments($arguments64); $viewHelper70->setRenderingContext($renderingContext); $viewHelper70->setRenderChildrenClosure($renderChildrenClosure66); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output63 .= $viewHelper70->initializeArgumentsAndRender(); $output63 .= ' </li> '; return $output63; }; $output60 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments61, $renderChildrenClosure62, $renderingContext); $output60 .= ' </ul> </div> </div> </nav> '; return $output60; }; $output45 .= ''; $output45 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments71 = array(); $arguments71['name'] = 'Sidebar'; $renderChildrenClosure72 = function () use($renderingContext, $self) { $output73 = ''; $output73 .= ' <h3>Category: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments74 = array(); $arguments74['action'] = 'index'; $arguments74['controller'] = 'category'; $arguments74['additionalAttributes'] = NULL; $arguments74['data'] = NULL; $arguments74['arguments'] = array(); $arguments74['package'] = NULL; $arguments74['subpackage'] = NULL; $arguments74['section'] = ''; $arguments74['format'] = ''; $arguments74['additionalParams'] = array(); $arguments74['addQueryString'] = false; $arguments74['argumentsToBeExcludedFromQueryString'] = array(); $arguments74['useParentRequest'] = false; $arguments74['absolute'] = true; $arguments74['class'] = NULL; $arguments74['dir'] = NULL; $arguments74['id'] = NULL; $arguments74['lang'] = NULL; $arguments74['style'] = NULL; $arguments74['title'] = NULL; $arguments74['accesskey'] = NULL; $arguments74['tabindex'] = NULL; $arguments74['onclick'] = NULL; $arguments74['name'] = NULL; $arguments74['rel'] = NULL; $arguments74['rev'] = NULL; $arguments74['target'] = NULL; $renderChildrenClosure75 = function () use($renderingContext, $self) { return 'View Category'; }; $viewHelper76 = $self->getViewHelper('$viewHelper76', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper76->setArguments($arguments74); $viewHelper76->setRenderingContext($renderingContext); $viewHelper76->setRenderChildrenClosure($renderChildrenClosure75); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output73 .= $viewHelper76->initializeArgumentsAndRender(); $output73 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments77 = array(); $arguments77['action'] = 'new'; $arguments77['controller'] = 'category'; $arguments77['additionalAttributes'] = NULL; $arguments77['data'] = NULL; $arguments77['arguments'] = array(); $arguments77['package'] = NULL; $arguments77['subpackage'] = NULL; $arguments77['section'] = ''; $arguments77['format'] = ''; $arguments77['additionalParams'] = array(); $arguments77['addQueryString'] = false; $arguments77['argumentsToBeExcludedFromQueryString'] = array(); $arguments77['useParentRequest'] = false; $arguments77['absolute'] = true; $arguments77['class'] = NULL; $arguments77['dir'] = NULL; $arguments77['id'] = NULL; $arguments77['lang'] = NULL; $arguments77['style'] = NULL; $arguments77['title'] = NULL; $arguments77['accesskey'] = NULL; $arguments77['tabindex'] = NULL; $arguments77['onclick'] = NULL; $arguments77['name'] = NULL; $arguments77['rel'] = NULL; $arguments77['rev'] = NULL; $arguments77['target'] = NULL; $renderChildrenClosure78 = function () use($renderingContext, $self) { return 'Create a new category'; }; $viewHelper79 = $self->getViewHelper('$viewHelper79', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper79->setArguments($arguments77); $viewHelper79->setRenderingContext($renderingContext); $viewHelper79->setRenderChildrenClosure($renderChildrenClosure78); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output73 .= $viewHelper79->initializeArgumentsAndRender(); $output73 .= '</p> <h3>Post: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments80 = array(); $arguments80['action'] = 'index'; $arguments80['controller'] = 'post'; $arguments80['additionalAttributes'] = NULL; $arguments80['data'] = NULL; $arguments80['arguments'] = array(); $arguments80['package'] = NULL; $arguments80['subpackage'] = NULL; $arguments80['section'] = ''; $arguments80['format'] = ''; $arguments80['additionalParams'] = array(); $arguments80['addQueryString'] = false; $arguments80['argumentsToBeExcludedFromQueryString'] = array(); $arguments80['useParentRequest'] = false; $arguments80['absolute'] = true; $arguments80['class'] = NULL; $arguments80['dir'] = NULL; $arguments80['id'] = NULL; $arguments80['lang'] = NULL; $arguments80['style'] = NULL; $arguments80['title'] = NULL; $arguments80['accesskey'] = NULL; $arguments80['tabindex'] = NULL; $arguments80['onclick'] = NULL; $arguments80['name'] = NULL; $arguments80['rel'] = NULL; $arguments80['rev'] = NULL; $arguments80['target'] = NULL; $renderChildrenClosure81 = function () use($renderingContext, $self) { return 'View Post'; }; $viewHelper82 = $self->getViewHelper('$viewHelper82', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper82->setArguments($arguments80); $viewHelper82->setRenderingContext($renderingContext); $viewHelper82->setRenderChildrenClosure($renderChildrenClosure81); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output73 .= $viewHelper82->initializeArgumentsAndRender(); $output73 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments83 = array(); $arguments83['action'] = 'new'; $arguments83['controller'] = 'post'; $arguments83['additionalAttributes'] = NULL; $arguments83['data'] = NULL; $arguments83['arguments'] = array(); $arguments83['package'] = NULL; $arguments83['subpackage'] = NULL; $arguments83['section'] = ''; $arguments83['format'] = ''; $arguments83['additionalParams'] = array(); $arguments83['addQueryString'] = false; $arguments83['argumentsToBeExcludedFromQueryString'] = array(); $arguments83['useParentRequest'] = false; $arguments83['absolute'] = true; $arguments83['class'] = NULL; $arguments83['dir'] = NULL; $arguments83['id'] = NULL; $arguments83['lang'] = NULL; $arguments83['style'] = NULL; $arguments83['title'] = NULL; $arguments83['accesskey'] = NULL; $arguments83['tabindex'] = NULL; $arguments83['onclick'] = NULL; $arguments83['name'] = NULL; $arguments83['rel'] = NULL; $arguments83['rev'] = NULL; $arguments83['target'] = NULL; $renderChildrenClosure84 = function () use($renderingContext, $self) { return 'Create new post'; }; $viewHelper85 = $self->getViewHelper('$viewHelper85', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper85->setArguments($arguments83); $viewHelper85->setRenderingContext($renderingContext); $viewHelper85->setRenderChildrenClosure($renderChildrenClosure84); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output73 .= $viewHelper85->initializeArgumentsAndRender(); $output73 .= '</p> <h3>Author: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments86 = array(); $arguments86['action'] = 'index'; $arguments86['controller'] = 'author'; $arguments86['additionalAttributes'] = NULL; $arguments86['data'] = NULL; $arguments86['arguments'] = array(); $arguments86['package'] = NULL; $arguments86['subpackage'] = NULL; $arguments86['section'] = ''; $arguments86['format'] = ''; $arguments86['additionalParams'] = array(); $arguments86['addQueryString'] = false; $arguments86['argumentsToBeExcludedFromQueryString'] = array(); $arguments86['useParentRequest'] = false; $arguments86['absolute'] = true; $arguments86['class'] = NULL; $arguments86['dir'] = NULL; $arguments86['id'] = NULL; $arguments86['lang'] = NULL; $arguments86['style'] = NULL; $arguments86['title'] = NULL; $arguments86['accesskey'] = NULL; $arguments86['tabindex'] = NULL; $arguments86['onclick'] = NULL; $arguments86['name'] = NULL; $arguments86['rel'] = NULL; $arguments86['rev'] = NULL; $arguments86['target'] = NULL; $renderChildrenClosure87 = function () use($renderingContext, $self) { return 'View Author'; }; $viewHelper88 = $self->getViewHelper('$viewHelper88', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper88->setArguments($arguments86); $viewHelper88->setRenderingContext($renderingContext); $viewHelper88->setRenderChildrenClosure($renderChildrenClosure87); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output73 .= $viewHelper88->initializeArgumentsAndRender(); $output73 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments89 = array(); $arguments89['action'] = 'new'; $arguments89['controller'] = 'author'; $arguments89['additionalAttributes'] = NULL; $arguments89['data'] = NULL; $arguments89['arguments'] = array(); $arguments89['package'] = NULL; $arguments89['subpackage'] = NULL; $arguments89['section'] = ''; $arguments89['format'] = ''; $arguments89['additionalParams'] = array(); $arguments89['addQueryString'] = false; $arguments89['argumentsToBeExcludedFromQueryString'] = array(); $arguments89['useParentRequest'] = false; $arguments89['absolute'] = true; $arguments89['class'] = NULL; $arguments89['dir'] = NULL; $arguments89['id'] = NULL; $arguments89['lang'] = NULL; $arguments89['style'] = NULL; $arguments89['title'] = NULL; $arguments89['accesskey'] = NULL; $arguments89['tabindex'] = NULL; $arguments89['onclick'] = NULL; $arguments89['name'] = NULL; $arguments89['rel'] = NULL; $arguments89['rev'] = NULL; $arguments89['target'] = NULL; $renderChildrenClosure90 = function () use($renderingContext, $self) { return 'Create New Author'; }; $viewHelper91 = $self->getViewHelper('$viewHelper91', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper91->setArguments($arguments89); $viewHelper91->setRenderingContext($renderingContext); $viewHelper91->setRenderChildrenClosure($renderChildrenClosure90); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output73 .= $viewHelper91->initializeArgumentsAndRender(); $output73 .= '</p> '; return $output73; }; $output45 .= ''; $output45 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments92 = array(); $arguments92['name'] = 'Content'; $renderChildrenClosure93 = function () use($renderingContext, $self) { $output94 = ''; $output94 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $arguments95 = array(); $arguments95['action'] = 'update'; $arguments95['object'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'category', $renderingContext); $arguments95['objectName'] = 'category'; $arguments95['additionalAttributes'] = NULL; $arguments95['data'] = NULL; $arguments95['arguments'] = array(); $arguments95['controller'] = NULL; $arguments95['package'] = NULL; $arguments95['subpackage'] = NULL; $arguments95['section'] = ''; $arguments95['format'] = ''; $arguments95['additionalParams'] = array(); $arguments95['absolute'] = false; $arguments95['addQueryString'] = false; $arguments95['argumentsToBeExcludedFromQueryString'] = array(); $arguments95['fieldNamePrefix'] = NULL; $arguments95['actionUri'] = NULL; $arguments95['useParentRequest'] = false; $arguments95['enctype'] = NULL; $arguments95['method'] = NULL; $arguments95['name'] = NULL; $arguments95['onreset'] = NULL; $arguments95['onsubmit'] = NULL; $arguments95['class'] = NULL; $arguments95['dir'] = NULL; $arguments95['id'] = NULL; $arguments95['lang'] = NULL; $arguments95['style'] = NULL; $arguments95['title'] = NULL; $arguments95['accesskey'] = NULL; $arguments95['tabindex'] = NULL; $arguments95['onclick'] = NULL; $renderChildrenClosure96 = function () use($renderingContext, $self) { $output97 = ''; $output97 .= ' <div class="col-md-8 col-sm-8 col-xs-12"> <table class="table"> <tr> <td><label for="title">Title</label></td> <td>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\TextfieldViewHelper $arguments98 = array(); $arguments98['class'] = 'form-control'; $arguments98['property'] = 'title'; $arguments98['id'] = 'title'; $arguments98['additionalAttributes'] = NULL; $arguments98['data'] = NULL; $arguments98['required'] = false; $arguments98['type'] = 'text'; $arguments98['name'] = NULL; $arguments98['value'] = NULL; $arguments98['disabled'] = NULL; $arguments98['maxlength'] = NULL; $arguments98['readonly'] = NULL; $arguments98['size'] = NULL; $arguments98['placeholder'] = NULL; $arguments98['autofocus'] = NULL; $arguments98['errorClass'] = 'f3-form-error'; $arguments98['dir'] = NULL; $arguments98['lang'] = NULL; $arguments98['style'] = NULL; $arguments98['title'] = NULL; $arguments98['accesskey'] = NULL; $arguments98['tabindex'] = NULL; $arguments98['onclick'] = NULL; $renderChildrenClosure99 = function () use($renderingContext, $self) { return NULL; }; $viewHelper100 = $self->getViewHelper('$viewHelper100', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\TextfieldViewHelper'); $viewHelper100->setArguments($arguments98); $viewHelper100->setRenderingContext($renderingContext); $viewHelper100->setRenderChildrenClosure($renderChildrenClosure99); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\TextfieldViewHelper $output97 .= $viewHelper100->initializeArgumentsAndRender(); $output97 .= '</td> </tr> <tr> <td>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $arguments101 = array(); $arguments101['class'] = 'btn btn-primary'; $arguments101['value'] = 'Update'; $arguments101['additionalAttributes'] = NULL; $arguments101['data'] = NULL; $arguments101['name'] = NULL; $arguments101['property'] = NULL; $arguments101['disabled'] = NULL; $arguments101['dir'] = NULL; $arguments101['id'] = NULL; $arguments101['lang'] = NULL; $arguments101['style'] = NULL; $arguments101['title'] = NULL; $arguments101['accesskey'] = NULL; $arguments101['tabindex'] = NULL; $arguments101['onclick'] = NULL; $renderChildrenClosure102 = function () use($renderingContext, $self) { return NULL; }; $viewHelper103 = $self->getViewHelper('$viewHelper103', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\SubmitViewHelper'); $viewHelper103->setArguments($arguments101); $viewHelper103->setRenderingContext($renderingContext); $viewHelper103->setRenderChildrenClosure($renderChildrenClosure102); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $output97 .= $viewHelper103->initializeArgumentsAndRender(); $output97 .= '</td> <td></td> </tr> </table> </div> '; return $output97; }; $viewHelper104 = $self->getViewHelper('$viewHelper104', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\FormViewHelper'); $viewHelper104->setArguments($arguments95); $viewHelper104->setRenderingContext($renderingContext); $viewHelper104->setRenderChildrenClosure($renderChildrenClosure96); // End of ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $output94 .= $viewHelper104->initializeArgumentsAndRender(); $output94 .= ' '; return $output94; }; $output45 .= ''; $output45 .= ' '; return $output45; }
/** * Main Render function */ public function render(\TYPO3\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $self = $this; $output59 = ''; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments60 = array(); // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments61 = array(); $arguments61['name'] = 'Default'; $renderChildrenClosure62 = function () use($renderingContext, $self) { return NULL; }; $viewHelper63 = $self->getViewHelper('$viewHelper63', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\LayoutViewHelper'); $viewHelper63->setArguments($arguments61); $viewHelper63->setRenderingContext($renderingContext); $viewHelper63->setRenderChildrenClosure($renderChildrenClosure62); // End of ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments60['value'] = $viewHelper63->initializeArgumentsAndRender(); $arguments60['keepQuotes'] = false; $arguments60['encoding'] = 'UTF-8'; $arguments60['doubleEncode'] = true; $renderChildrenClosure64 = function () use($renderingContext, $self) { return NULL; }; $value65 = $arguments60['value'] !== NULL ? $arguments60['value'] : $renderChildrenClosure64(); $output59 .= !is_string($value65) && !(is_object($value65) && method_exists($value65, '__toString')) ? $value65 : htmlspecialchars($value65, $arguments60['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments60['encoding'], $arguments60['doubleEncode']); $output59 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments66 = array(); $arguments66['name'] = 'Title'; $renderChildrenClosure67 = function () use($renderingContext, $self) { return 'New post'; }; $output59 .= ''; $output59 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments68 = array(); $arguments68['name'] = 'Navigation'; $renderChildrenClosure69 = function () use($renderingContext, $self) { $output70 = ''; $output70 .= ' <nav class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navigation" aria-expanded="false"> <span class="sr-only">Toggle Navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">MyBlog</a> </div> <div class="collapse navbar-collapse" id="navigation"> <ul class="nav navbar-nav"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments71 = array(); $arguments71['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'listCategories', $renderingContext); $arguments71['as'] = 'navCategory'; $arguments71['key'] = ''; $arguments71['reverse'] = false; $arguments71['iteration'] = NULL; $renderChildrenClosure72 = function () use($renderingContext, $self) { $output73 = ''; $output73 .= ' <li> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments74 = array(); $arguments74['action'] = 'show'; $arguments74['controller'] = 'category'; // Rendering Array $array75 = array(); $array75['category'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'navCategory', $renderingContext); $arguments74['arguments'] = $array75; $arguments74['additionalAttributes'] = NULL; $arguments74['data'] = NULL; $arguments74['package'] = NULL; $arguments74['subpackage'] = NULL; $arguments74['section'] = ''; $arguments74['format'] = ''; $arguments74['additionalParams'] = array(); $arguments74['addQueryString'] = false; $arguments74['argumentsToBeExcludedFromQueryString'] = array(); $arguments74['useParentRequest'] = false; $arguments74['absolute'] = true; $arguments74['class'] = NULL; $arguments74['dir'] = NULL; $arguments74['id'] = NULL; $arguments74['lang'] = NULL; $arguments74['style'] = NULL; $arguments74['title'] = NULL; $arguments74['accesskey'] = NULL; $arguments74['tabindex'] = NULL; $arguments74['onclick'] = NULL; $arguments74['name'] = NULL; $arguments74['rel'] = NULL; $arguments74['rev'] = NULL; $arguments74['target'] = NULL; $renderChildrenClosure76 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments77 = array(); $arguments77['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'navCategory.title', $renderingContext); $arguments77['keepQuotes'] = false; $arguments77['encoding'] = 'UTF-8'; $arguments77['doubleEncode'] = true; $renderChildrenClosure78 = function () use($renderingContext, $self) { return NULL; }; $value79 = $arguments77['value'] !== NULL ? $arguments77['value'] : $renderChildrenClosure78(); return !is_string($value79) && !(is_object($value79) && method_exists($value79, '__toString')) ? $value79 : htmlspecialchars($value79, $arguments77['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments77['encoding'], $arguments77['doubleEncode']); }; $viewHelper80 = $self->getViewHelper('$viewHelper80', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper80->setArguments($arguments74); $viewHelper80->setRenderingContext($renderingContext); $viewHelper80->setRenderChildrenClosure($renderChildrenClosure76); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output73 .= $viewHelper80->initializeArgumentsAndRender(); $output73 .= ' </li> '; return $output73; }; $output70 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments71, $renderChildrenClosure72, $renderingContext); $output70 .= ' </ul> </div> </div> </nav> '; return $output70; }; $output59 .= ''; $output59 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments81 = array(); $arguments81['name'] = 'Sidebar'; $renderChildrenClosure82 = function () use($renderingContext, $self) { $output83 = ''; $output83 .= ' <h3>Category: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments84 = array(); $arguments84['action'] = 'index'; $arguments84['controller'] = 'category'; $arguments84['additionalAttributes'] = NULL; $arguments84['data'] = NULL; $arguments84['arguments'] = array(); $arguments84['package'] = NULL; $arguments84['subpackage'] = NULL; $arguments84['section'] = ''; $arguments84['format'] = ''; $arguments84['additionalParams'] = array(); $arguments84['addQueryString'] = false; $arguments84['argumentsToBeExcludedFromQueryString'] = array(); $arguments84['useParentRequest'] = false; $arguments84['absolute'] = true; $arguments84['class'] = NULL; $arguments84['dir'] = NULL; $arguments84['id'] = NULL; $arguments84['lang'] = NULL; $arguments84['style'] = NULL; $arguments84['title'] = NULL; $arguments84['accesskey'] = NULL; $arguments84['tabindex'] = NULL; $arguments84['onclick'] = NULL; $arguments84['name'] = NULL; $arguments84['rel'] = NULL; $arguments84['rev'] = NULL; $arguments84['target'] = NULL; $renderChildrenClosure85 = function () use($renderingContext, $self) { return 'View Category'; }; $viewHelper86 = $self->getViewHelper('$viewHelper86', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper86->setArguments($arguments84); $viewHelper86->setRenderingContext($renderingContext); $viewHelper86->setRenderChildrenClosure($renderChildrenClosure85); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output83 .= $viewHelper86->initializeArgumentsAndRender(); $output83 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments87 = array(); $arguments87['action'] = 'new'; $arguments87['controller'] = 'category'; $arguments87['additionalAttributes'] = NULL; $arguments87['data'] = NULL; $arguments87['arguments'] = array(); $arguments87['package'] = NULL; $arguments87['subpackage'] = NULL; $arguments87['section'] = ''; $arguments87['format'] = ''; $arguments87['additionalParams'] = array(); $arguments87['addQueryString'] = false; $arguments87['argumentsToBeExcludedFromQueryString'] = array(); $arguments87['useParentRequest'] = false; $arguments87['absolute'] = true; $arguments87['class'] = NULL; $arguments87['dir'] = NULL; $arguments87['id'] = NULL; $arguments87['lang'] = NULL; $arguments87['style'] = NULL; $arguments87['title'] = NULL; $arguments87['accesskey'] = NULL; $arguments87['tabindex'] = NULL; $arguments87['onclick'] = NULL; $arguments87['name'] = NULL; $arguments87['rel'] = NULL; $arguments87['rev'] = NULL; $arguments87['target'] = NULL; $renderChildrenClosure88 = function () use($renderingContext, $self) { return 'Create a new category'; }; $viewHelper89 = $self->getViewHelper('$viewHelper89', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper89->setArguments($arguments87); $viewHelper89->setRenderingContext($renderingContext); $viewHelper89->setRenderChildrenClosure($renderChildrenClosure88); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output83 .= $viewHelper89->initializeArgumentsAndRender(); $output83 .= '</p> <h3>Post: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments90 = array(); $arguments90['action'] = 'index'; $arguments90['controller'] = 'post'; $arguments90['additionalAttributes'] = NULL; $arguments90['data'] = NULL; $arguments90['arguments'] = array(); $arguments90['package'] = NULL; $arguments90['subpackage'] = NULL; $arguments90['section'] = ''; $arguments90['format'] = ''; $arguments90['additionalParams'] = array(); $arguments90['addQueryString'] = false; $arguments90['argumentsToBeExcludedFromQueryString'] = array(); $arguments90['useParentRequest'] = false; $arguments90['absolute'] = true; $arguments90['class'] = NULL; $arguments90['dir'] = NULL; $arguments90['id'] = NULL; $arguments90['lang'] = NULL; $arguments90['style'] = NULL; $arguments90['title'] = NULL; $arguments90['accesskey'] = NULL; $arguments90['tabindex'] = NULL; $arguments90['onclick'] = NULL; $arguments90['name'] = NULL; $arguments90['rel'] = NULL; $arguments90['rev'] = NULL; $arguments90['target'] = NULL; $renderChildrenClosure91 = function () use($renderingContext, $self) { return 'View Post'; }; $viewHelper92 = $self->getViewHelper('$viewHelper92', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper92->setArguments($arguments90); $viewHelper92->setRenderingContext($renderingContext); $viewHelper92->setRenderChildrenClosure($renderChildrenClosure91); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output83 .= $viewHelper92->initializeArgumentsAndRender(); $output83 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments93 = array(); $arguments93['action'] = 'new'; $arguments93['controller'] = 'post'; $arguments93['additionalAttributes'] = NULL; $arguments93['data'] = NULL; $arguments93['arguments'] = array(); $arguments93['package'] = NULL; $arguments93['subpackage'] = NULL; $arguments93['section'] = ''; $arguments93['format'] = ''; $arguments93['additionalParams'] = array(); $arguments93['addQueryString'] = false; $arguments93['argumentsToBeExcludedFromQueryString'] = array(); $arguments93['useParentRequest'] = false; $arguments93['absolute'] = true; $arguments93['class'] = NULL; $arguments93['dir'] = NULL; $arguments93['id'] = NULL; $arguments93['lang'] = NULL; $arguments93['style'] = NULL; $arguments93['title'] = NULL; $arguments93['accesskey'] = NULL; $arguments93['tabindex'] = NULL; $arguments93['onclick'] = NULL; $arguments93['name'] = NULL; $arguments93['rel'] = NULL; $arguments93['rev'] = NULL; $arguments93['target'] = NULL; $renderChildrenClosure94 = function () use($renderingContext, $self) { return 'Create new post'; }; $viewHelper95 = $self->getViewHelper('$viewHelper95', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper95->setArguments($arguments93); $viewHelper95->setRenderingContext($renderingContext); $viewHelper95->setRenderChildrenClosure($renderChildrenClosure94); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output83 .= $viewHelper95->initializeArgumentsAndRender(); $output83 .= '</p> <h3>Author: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments96 = array(); $arguments96['action'] = 'index'; $arguments96['controller'] = 'author'; $arguments96['additionalAttributes'] = NULL; $arguments96['data'] = NULL; $arguments96['arguments'] = array(); $arguments96['package'] = NULL; $arguments96['subpackage'] = NULL; $arguments96['section'] = ''; $arguments96['format'] = ''; $arguments96['additionalParams'] = array(); $arguments96['addQueryString'] = false; $arguments96['argumentsToBeExcludedFromQueryString'] = array(); $arguments96['useParentRequest'] = false; $arguments96['absolute'] = true; $arguments96['class'] = NULL; $arguments96['dir'] = NULL; $arguments96['id'] = NULL; $arguments96['lang'] = NULL; $arguments96['style'] = NULL; $arguments96['title'] = NULL; $arguments96['accesskey'] = NULL; $arguments96['tabindex'] = NULL; $arguments96['onclick'] = NULL; $arguments96['name'] = NULL; $arguments96['rel'] = NULL; $arguments96['rev'] = NULL; $arguments96['target'] = NULL; $renderChildrenClosure97 = function () use($renderingContext, $self) { return 'View Author'; }; $viewHelper98 = $self->getViewHelper('$viewHelper98', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper98->setArguments($arguments96); $viewHelper98->setRenderingContext($renderingContext); $viewHelper98->setRenderChildrenClosure($renderChildrenClosure97); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output83 .= $viewHelper98->initializeArgumentsAndRender(); $output83 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments99 = array(); $arguments99['action'] = 'new'; $arguments99['controller'] = 'author'; $arguments99['additionalAttributes'] = NULL; $arguments99['data'] = NULL; $arguments99['arguments'] = array(); $arguments99['package'] = NULL; $arguments99['subpackage'] = NULL; $arguments99['section'] = ''; $arguments99['format'] = ''; $arguments99['additionalParams'] = array(); $arguments99['addQueryString'] = false; $arguments99['argumentsToBeExcludedFromQueryString'] = array(); $arguments99['useParentRequest'] = false; $arguments99['absolute'] = true; $arguments99['class'] = NULL; $arguments99['dir'] = NULL; $arguments99['id'] = NULL; $arguments99['lang'] = NULL; $arguments99['style'] = NULL; $arguments99['title'] = NULL; $arguments99['accesskey'] = NULL; $arguments99['tabindex'] = NULL; $arguments99['onclick'] = NULL; $arguments99['name'] = NULL; $arguments99['rel'] = NULL; $arguments99['rev'] = NULL; $arguments99['target'] = NULL; $renderChildrenClosure100 = function () use($renderingContext, $self) { return 'Create New Author'; }; $viewHelper101 = $self->getViewHelper('$viewHelper101', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper101->setArguments($arguments99); $viewHelper101->setRenderingContext($renderingContext); $viewHelper101->setRenderChildrenClosure($renderChildrenClosure100); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output83 .= $viewHelper101->initializeArgumentsAndRender(); $output83 .= '</p> '; return $output83; }; $output59 .= ''; $output59 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments102 = array(); $arguments102['name'] = 'Content'; $renderChildrenClosure103 = function () use($renderingContext, $self) { $output104 = ''; $output104 .= ' <p>Just fill out the following form to create a new post:</p> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $arguments105 = array(); $arguments105['action'] = 'create'; $arguments105['objectName'] = 'newPost'; $arguments105['additionalAttributes'] = NULL; $arguments105['data'] = NULL; $arguments105['arguments'] = array(); $arguments105['controller'] = NULL; $arguments105['package'] = NULL; $arguments105['subpackage'] = NULL; $arguments105['object'] = NULL; $arguments105['section'] = ''; $arguments105['format'] = ''; $arguments105['additionalParams'] = array(); $arguments105['absolute'] = false; $arguments105['addQueryString'] = false; $arguments105['argumentsToBeExcludedFromQueryString'] = array(); $arguments105['fieldNamePrefix'] = NULL; $arguments105['actionUri'] = NULL; $arguments105['useParentRequest'] = false; $arguments105['enctype'] = NULL; $arguments105['method'] = NULL; $arguments105['name'] = NULL; $arguments105['onreset'] = NULL; $arguments105['onsubmit'] = NULL; $arguments105['class'] = NULL; $arguments105['dir'] = NULL; $arguments105['id'] = NULL; $arguments105['lang'] = NULL; $arguments105['style'] = NULL; $arguments105['title'] = NULL; $arguments105['accesskey'] = NULL; $arguments105['tabindex'] = NULL; $arguments105['onclick'] = NULL; $renderChildrenClosure106 = function () use($renderingContext, $self) { $output107 = ''; $output107 .= ' <table class="table"> <tr> <td><label for="name">Title</label></td> <td>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\TextfieldViewHelper $arguments108 = array(); $arguments108['class'] = 'form-control'; $arguments108['style'] = 'width:100%;'; $arguments108['property'] = 'name'; $arguments108['id'] = 'name'; $arguments108['placeholder'] = 'Type title...'; $arguments108['additionalAttributes'] = NULL; $arguments108['data'] = NULL; $arguments108['required'] = false; $arguments108['type'] = 'text'; $arguments108['name'] = NULL; $arguments108['value'] = NULL; $arguments108['disabled'] = NULL; $arguments108['maxlength'] = NULL; $arguments108['readonly'] = NULL; $arguments108['size'] = NULL; $arguments108['autofocus'] = NULL; $arguments108['errorClass'] = 'f3-form-error'; $arguments108['dir'] = NULL; $arguments108['lang'] = NULL; $arguments108['title'] = NULL; $arguments108['accesskey'] = NULL; $arguments108['tabindex'] = NULL; $arguments108['onclick'] = NULL; $renderChildrenClosure109 = function () use($renderingContext, $self) { return NULL; }; $viewHelper110 = $self->getViewHelper('$viewHelper110', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\TextfieldViewHelper'); $viewHelper110->setArguments($arguments108); $viewHelper110->setRenderingContext($renderingContext); $viewHelper110->setRenderChildrenClosure($renderChildrenClosure109); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\TextfieldViewHelper $output107 .= $viewHelper110->initializeArgumentsAndRender(); $output107 .= '</td> </tr> <tr> <td><label for="content">Content</label></td> <td>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\TextareaViewHelper $arguments111 = array(); $arguments111['class'] = 'form-control'; $arguments111['style'] = 'width:100%;font-family:cursive;font-size: 11pt;height: 100px;'; $arguments111['property'] = 'content'; $arguments111['id'] = 'content'; $arguments111['placeholder'] = 'Type something...'; $arguments111['additionalAttributes'] = NULL; $arguments111['data'] = NULL; $arguments111['name'] = NULL; $arguments111['value'] = NULL; $arguments111['rows'] = NULL; $arguments111['cols'] = NULL; $arguments111['disabled'] = NULL; $arguments111['autofocus'] = NULL; $arguments111['errorClass'] = 'f3-form-error'; $arguments111['required'] = false; $arguments111['dir'] = NULL; $arguments111['lang'] = NULL; $arguments111['title'] = NULL; $arguments111['accesskey'] = NULL; $arguments111['tabindex'] = NULL; $arguments111['onclick'] = NULL; $renderChildrenClosure112 = function () use($renderingContext, $self) { return NULL; }; $viewHelper113 = $self->getViewHelper('$viewHelper113', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\TextareaViewHelper'); $viewHelper113->setArguments($arguments111); $viewHelper113->setRenderingContext($renderingContext); $viewHelper113->setRenderChildrenClosure($renderChildrenClosure112); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\TextareaViewHelper $output107 .= $viewHelper113->initializeArgumentsAndRender(); $output107 .= '</td> </tr> <tr> <th>Choose category: </th> <td> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments114 = array(); $arguments114['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'listCategories', $renderingContext); $arguments114['as'] = 'cat'; $arguments114['key'] = ''; $arguments114['reverse'] = false; $arguments114['iteration'] = NULL; $renderChildrenClosure115 = function () use($renderingContext, $self) { $output116 = ''; $output116 .= ' <label class="checkbox-inline"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\CheckboxViewHelper $arguments117 = array(); $arguments117['property'] = 'categories'; $arguments117['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'cat.identity', $renderingContext); // Rendering Boolean node $arguments117['multiple'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean('true'); $arguments117['additionalAttributes'] = NULL; $arguments117['data'] = NULL; $arguments117['checked'] = NULL; $arguments117['name'] = NULL; $arguments117['disabled'] = NULL; $arguments117['errorClass'] = 'f3-form-error'; $arguments117['class'] = NULL; $arguments117['dir'] = NULL; $arguments117['id'] = NULL; $arguments117['lang'] = NULL; $arguments117['style'] = NULL; $arguments117['title'] = NULL; $arguments117['accesskey'] = NULL; $arguments117['tabindex'] = NULL; $arguments117['onclick'] = NULL; $renderChildrenClosure118 = function () use($renderingContext, $self) { return NULL; }; $viewHelper119 = $self->getViewHelper('$viewHelper119', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\CheckboxViewHelper'); $viewHelper119->setArguments($arguments117); $viewHelper119->setRenderingContext($renderingContext); $viewHelper119->setRenderChildrenClosure($renderChildrenClosure118); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\CheckboxViewHelper $output116 .= $viewHelper119->initializeArgumentsAndRender(); // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments120 = array(); $arguments120['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'cat.title', $renderingContext); $arguments120['keepQuotes'] = false; $arguments120['encoding'] = 'UTF-8'; $arguments120['doubleEncode'] = true; $renderChildrenClosure121 = function () use($renderingContext, $self) { return NULL; }; $value122 = $arguments120['value'] !== NULL ? $arguments120['value'] : $renderChildrenClosure121(); $output116 .= !is_string($value122) && !(is_object($value122) && method_exists($value122, '__toString')) ? $value122 : htmlspecialchars($value122, $arguments120['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments120['encoding'], $arguments120['doubleEncode']); $output116 .= ' </label> '; return $output116; }; $output107 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments114, $renderChildrenClosure115, $renderingContext); $output107 .= ' </td> <!-- '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\SelectViewHelper $arguments123 = array(); $arguments123['property'] = 'categories'; $arguments123['optionLabelField'] = 'title'; $arguments123['options'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'listCategory', $renderingContext); $arguments123['size'] = '3'; $arguments123['prependOptionLabel'] = '- select one -'; $arguments123['multiple'] = 'true'; $arguments123['additionalAttributes'] = NULL; $arguments123['data'] = NULL; $arguments123['name'] = NULL; $arguments123['value'] = NULL; $arguments123['class'] = NULL; $arguments123['dir'] = NULL; $arguments123['id'] = NULL; $arguments123['lang'] = NULL; $arguments123['style'] = NULL; $arguments123['title'] = NULL; $arguments123['accesskey'] = NULL; $arguments123['tabindex'] = NULL; $arguments123['onclick'] = NULL; $arguments123['disabled'] = NULL; $arguments123['optionValueField'] = NULL; $arguments123['sortByOptionLabel'] = false; $arguments123['selectAllByDefault'] = false; $arguments123['errorClass'] = 'f3-form-error'; $arguments123['translate'] = NULL; $arguments123['prependOptionValue'] = NULL; $renderChildrenClosure124 = function () use($renderingContext, $self) { return NULL; }; $viewHelper125 = $self->getViewHelper('$viewHelper125', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\SelectViewHelper'); $viewHelper125->setArguments($arguments123); $viewHelper125->setRenderingContext($renderingContext); $viewHelper125->setRenderChildrenClosure($renderChildrenClosure124); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\SelectViewHelper $output107 .= $viewHelper125->initializeArgumentsAndRender(); $output107 .= ' --> </tr> <tr> <th>Choose authors: </th> <td> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\SelectViewHelper $arguments126 = array(); $arguments126['style'] = 'width:100%;'; $arguments126['property'] = 'authors'; $arguments126['optionLabelField'] = 'name'; $arguments126['options'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'listAuthor', $renderingContext); $arguments126['size'] = '3'; $arguments126['prependOptionLabel'] = '--Select one--'; $arguments126['multiple'] = 'true'; $arguments126['additionalAttributes'] = NULL; $arguments126['data'] = NULL; $arguments126['name'] = NULL; $arguments126['value'] = NULL; $arguments126['class'] = NULL; $arguments126['dir'] = NULL; $arguments126['id'] = NULL; $arguments126['lang'] = NULL; $arguments126['title'] = NULL; $arguments126['accesskey'] = NULL; $arguments126['tabindex'] = NULL; $arguments126['onclick'] = NULL; $arguments126['disabled'] = NULL; $arguments126['optionValueField'] = NULL; $arguments126['sortByOptionLabel'] = false; $arguments126['selectAllByDefault'] = false; $arguments126['errorClass'] = 'f3-form-error'; $arguments126['translate'] = NULL; $arguments126['prependOptionValue'] = NULL; $renderChildrenClosure127 = function () use($renderingContext, $self) { return NULL; }; $viewHelper128 = $self->getViewHelper('$viewHelper128', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\SelectViewHelper'); $viewHelper128->setArguments($arguments126); $viewHelper128->setRenderingContext($renderingContext); $viewHelper128->setRenderChildrenClosure($renderChildrenClosure127); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\SelectViewHelper $output107 .= $viewHelper128->initializeArgumentsAndRender(); $output107 .= ' </td> </tr> <tr> <td> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $arguments129 = array(); $arguments129['class'] = 'btn btn-primary'; $arguments129['value'] = 'Create'; $arguments129['additionalAttributes'] = NULL; $arguments129['data'] = NULL; $arguments129['name'] = NULL; $arguments129['property'] = NULL; $arguments129['disabled'] = NULL; $arguments129['dir'] = NULL; $arguments129['id'] = NULL; $arguments129['lang'] = NULL; $arguments129['style'] = NULL; $arguments129['title'] = NULL; $arguments129['accesskey'] = NULL; $arguments129['tabindex'] = NULL; $arguments129['onclick'] = NULL; $renderChildrenClosure130 = function () use($renderingContext, $self) { return NULL; }; $viewHelper131 = $self->getViewHelper('$viewHelper131', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\SubmitViewHelper'); $viewHelper131->setArguments($arguments129); $viewHelper131->setRenderingContext($renderingContext); $viewHelper131->setRenderChildrenClosure($renderChildrenClosure130); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $output107 .= $viewHelper131->initializeArgumentsAndRender(); $output107 .= ' </td> </tr> </table> '; return $output107; }; $viewHelper132 = $self->getViewHelper('$viewHelper132', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\FormViewHelper'); $viewHelper132->setArguments($arguments105); $viewHelper132->setRenderingContext($renderingContext); $viewHelper132->setRenderChildrenClosure($renderChildrenClosure106); // End of ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $output104 .= $viewHelper132->initializeArgumentsAndRender(); $output104 .= ' '; return $output104; }; $output59 .= ''; $output59 .= ' '; return $output59; }
/** * Main Render function */ public function render(\TYPO3\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $self = $this; $output115 = ''; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments116 = array(); // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments117 = array(); $arguments117['name'] = 'Default'; $renderChildrenClosure118 = function () use($renderingContext, $self) { return NULL; }; $viewHelper119 = $self->getViewHelper('$viewHelper119', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\LayoutViewHelper'); $viewHelper119->setArguments($arguments117); $viewHelper119->setRenderingContext($renderingContext); $viewHelper119->setRenderChildrenClosure($renderChildrenClosure118); // End of ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments116['value'] = $viewHelper119->initializeArgumentsAndRender(); $arguments116['keepQuotes'] = false; $arguments116['encoding'] = 'UTF-8'; $arguments116['doubleEncode'] = true; $renderChildrenClosure120 = function () use($renderingContext, $self) { return NULL; }; $value121 = $arguments116['value'] !== NULL ? $arguments116['value'] : $renderChildrenClosure120(); $output115 .= !is_string($value121) && !(is_object($value121) && method_exists($value121, '__toString')) ? $value121 : htmlspecialchars($value121, $arguments116['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments116['encoding'], $arguments116['doubleEncode']); $output115 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments122 = array(); $arguments122['name'] = 'Title'; $renderChildrenClosure123 = function () use($renderingContext, $self) { return NULL; }; $output115 .= ''; $output115 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments124 = array(); $arguments124['name'] = 'stylesheet'; $renderChildrenClosure125 = function () use($renderingContext, $self) { return NULL; }; $output115 .= ''; $output115 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments126 = array(); $arguments126['name'] = 'Content'; $renderChildrenClosure127 = function () use($renderingContext, $self) { $output128 = ''; $output128 .= ' <!-- '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\IfViewHelper $arguments129 = array(); // Rendering Boolean node $arguments129['condition'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(\TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'forms', $renderingContext)); $arguments129['then'] = NULL; $arguments129['else'] = NULL; $renderChildrenClosure130 = function () use($renderingContext, $self) { $output131 = ''; $output131 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ThenViewHelper $arguments132 = array(); $renderChildrenClosure133 = function () use($renderingContext, $self) { $output134 = ''; $output134 .= ' <ul> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments135 = array(); $arguments135['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'forms', $renderingContext); $arguments135['as'] = 'form'; $arguments135['key'] = ''; $arguments135['reverse'] = false; $arguments135['iteration'] = NULL; $renderChildrenClosure136 = function () use($renderingContext, $self) { $output137 = ''; $output137 .= ' <li> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments138 = array(); $arguments138['action'] = 'show'; // Rendering Array $array139 = array(); $array139['form'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form', $renderingContext); $arguments138['arguments'] = $array139; $arguments138['additionalAttributes'] = NULL; $arguments138['data'] = NULL; $arguments138['controller'] = NULL; $arguments138['package'] = NULL; $arguments138['subpackage'] = NULL; $arguments138['section'] = ''; $arguments138['format'] = ''; $arguments138['additionalParams'] = array(); $arguments138['addQueryString'] = false; $arguments138['argumentsToBeExcludedFromQueryString'] = array(); $arguments138['useParentRequest'] = false; $arguments138['absolute'] = true; $arguments138['class'] = NULL; $arguments138['dir'] = NULL; $arguments138['id'] = NULL; $arguments138['lang'] = NULL; $arguments138['style'] = NULL; $arguments138['title'] = NULL; $arguments138['accesskey'] = NULL; $arguments138['tabindex'] = NULL; $arguments138['onclick'] = NULL; $arguments138['name'] = NULL; $arguments138['rel'] = NULL; $arguments138['rev'] = NULL; $arguments138['target'] = NULL; $renderChildrenClosure140 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments141 = array(); $arguments141['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form.name', $renderingContext); $arguments141['keepQuotes'] = false; $arguments141['encoding'] = 'UTF-8'; $arguments141['doubleEncode'] = true; $renderChildrenClosure142 = function () use($renderingContext, $self) { return NULL; }; $value143 = $arguments141['value'] !== NULL ? $arguments141['value'] : $renderChildrenClosure142(); return !is_string($value143) && !(is_object($value143) && method_exists($value143, '__toString')) ? $value143 : htmlspecialchars($value143, $arguments141['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments141['encoding'], $arguments141['doubleEncode']); }; $viewHelper144 = $self->getViewHelper('$viewHelper144', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper144->setArguments($arguments138); $viewHelper144->setRenderingContext($renderingContext); $viewHelper144->setRenderChildrenClosure($renderChildrenClosure140); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output137 .= $viewHelper144->initializeArgumentsAndRender(); $output137 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments145 = array(); $arguments145['action'] = 'edit'; // Rendering Array $array146 = array(); $array146['form'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form', $renderingContext); $arguments145['arguments'] = $array146; $arguments145['additionalAttributes'] = NULL; $arguments145['data'] = NULL; $arguments145['controller'] = NULL; $arguments145['package'] = NULL; $arguments145['subpackage'] = NULL; $arguments145['section'] = ''; $arguments145['format'] = ''; $arguments145['additionalParams'] = array(); $arguments145['addQueryString'] = false; $arguments145['argumentsToBeExcludedFromQueryString'] = array(); $arguments145['useParentRequest'] = false; $arguments145['absolute'] = true; $arguments145['class'] = NULL; $arguments145['dir'] = NULL; $arguments145['id'] = NULL; $arguments145['lang'] = NULL; $arguments145['style'] = NULL; $arguments145['title'] = NULL; $arguments145['accesskey'] = NULL; $arguments145['tabindex'] = NULL; $arguments145['onclick'] = NULL; $arguments145['name'] = NULL; $arguments145['rel'] = NULL; $arguments145['rev'] = NULL; $arguments145['target'] = NULL; $renderChildrenClosure147 = function () use($renderingContext, $self) { return 'Edit'; }; $viewHelper148 = $self->getViewHelper('$viewHelper148', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper148->setArguments($arguments145); $viewHelper148->setRenderingContext($renderingContext); $viewHelper148->setRenderChildrenClosure($renderChildrenClosure147); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output137 .= $viewHelper148->initializeArgumentsAndRender(); $output137 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $arguments149 = array(); $arguments149['action'] = 'delete'; // Rendering Array $array150 = array(); $array150['form'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form', $renderingContext); $arguments149['arguments'] = $array150; $arguments149['additionalAttributes'] = NULL; $arguments149['data'] = NULL; $arguments149['controller'] = NULL; $arguments149['package'] = NULL; $arguments149['subpackage'] = NULL; $arguments149['object'] = NULL; $arguments149['section'] = ''; $arguments149['format'] = ''; $arguments149['additionalParams'] = array(); $arguments149['absolute'] = false; $arguments149['addQueryString'] = false; $arguments149['argumentsToBeExcludedFromQueryString'] = array(); $arguments149['fieldNamePrefix'] = NULL; $arguments149['actionUri'] = NULL; $arguments149['objectName'] = NULL; $arguments149['useParentRequest'] = false; $arguments149['enctype'] = NULL; $arguments149['method'] = NULL; $arguments149['name'] = NULL; $arguments149['onreset'] = NULL; $arguments149['onsubmit'] = NULL; $arguments149['class'] = NULL; $arguments149['dir'] = NULL; $arguments149['id'] = NULL; $arguments149['lang'] = NULL; $arguments149['style'] = NULL; $arguments149['title'] = NULL; $arguments149['accesskey'] = NULL; $arguments149['tabindex'] = NULL; $arguments149['onclick'] = NULL; $renderChildrenClosure151 = function () use($renderingContext, $self) { $output152 = ''; $output152 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $arguments153 = array(); $arguments153['value'] = 'Delete'; $arguments153['additionalAttributes'] = NULL; $arguments153['data'] = NULL; $arguments153['name'] = NULL; $arguments153['property'] = NULL; $arguments153['disabled'] = NULL; $arguments153['class'] = NULL; $arguments153['dir'] = NULL; $arguments153['id'] = NULL; $arguments153['lang'] = NULL; $arguments153['style'] = NULL; $arguments153['title'] = NULL; $arguments153['accesskey'] = NULL; $arguments153['tabindex'] = NULL; $arguments153['onclick'] = NULL; $renderChildrenClosure154 = function () use($renderingContext, $self) { return NULL; }; $viewHelper155 = $self->getViewHelper('$viewHelper155', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\SubmitViewHelper'); $viewHelper155->setArguments($arguments153); $viewHelper155->setRenderingContext($renderingContext); $viewHelper155->setRenderChildrenClosure($renderChildrenClosure154); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $output152 .= $viewHelper155->initializeArgumentsAndRender(); $output152 .= ' '; return $output152; }; $viewHelper156 = $self->getViewHelper('$viewHelper156', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\FormViewHelper'); $viewHelper156->setArguments($arguments149); $viewHelper156->setRenderingContext($renderingContext); $viewHelper156->setRenderChildrenClosure($renderChildrenClosure151); // End of ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $output137 .= $viewHelper156->initializeArgumentsAndRender(); $output137 .= ' </li> '; return $output137; }; $output134 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments135, $renderChildrenClosure136, $renderingContext); $output134 .= ' </ul> '; return $output134; }; $viewHelper157 = $self->getViewHelper('$viewHelper157', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\ThenViewHelper'); $viewHelper157->setArguments($arguments132); $viewHelper157->setRenderingContext($renderingContext); $viewHelper157->setRenderChildrenClosure($renderChildrenClosure133); // End of ViewHelper TYPO3\Fluid\ViewHelpers\ThenViewHelper $output131 .= $viewHelper157->initializeArgumentsAndRender(); $output131 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ElseViewHelper $arguments158 = array(); $renderChildrenClosure159 = function () use($renderingContext, $self) { return ' <p>No forms created yet.</p> '; }; $viewHelper160 = $self->getViewHelper('$viewHelper160', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\ElseViewHelper'); $viewHelper160->setArguments($arguments158); $viewHelper160->setRenderingContext($renderingContext); $viewHelper160->setRenderChildrenClosure($renderChildrenClosure159); // End of ViewHelper TYPO3\Fluid\ViewHelpers\ElseViewHelper $output131 .= $viewHelper160->initializeArgumentsAndRender(); $output131 .= ' '; return $output131; }; $arguments129['__thenClosure'] = function () use($renderingContext, $self) { $output161 = ''; $output161 .= ' <ul> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments162 = array(); $arguments162['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'forms', $renderingContext); $arguments162['as'] = 'form'; $arguments162['key'] = ''; $arguments162['reverse'] = false; $arguments162['iteration'] = NULL; $renderChildrenClosure163 = function () use($renderingContext, $self) { $output164 = ''; $output164 .= ' <li> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments165 = array(); $arguments165['action'] = 'show'; // Rendering Array $array166 = array(); $array166['form'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form', $renderingContext); $arguments165['arguments'] = $array166; $arguments165['additionalAttributes'] = NULL; $arguments165['data'] = NULL; $arguments165['controller'] = NULL; $arguments165['package'] = NULL; $arguments165['subpackage'] = NULL; $arguments165['section'] = ''; $arguments165['format'] = ''; $arguments165['additionalParams'] = array(); $arguments165['addQueryString'] = false; $arguments165['argumentsToBeExcludedFromQueryString'] = array(); $arguments165['useParentRequest'] = false; $arguments165['absolute'] = true; $arguments165['class'] = NULL; $arguments165['dir'] = NULL; $arguments165['id'] = NULL; $arguments165['lang'] = NULL; $arguments165['style'] = NULL; $arguments165['title'] = NULL; $arguments165['accesskey'] = NULL; $arguments165['tabindex'] = NULL; $arguments165['onclick'] = NULL; $arguments165['name'] = NULL; $arguments165['rel'] = NULL; $arguments165['rev'] = NULL; $arguments165['target'] = NULL; $renderChildrenClosure167 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments168 = array(); $arguments168['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form.name', $renderingContext); $arguments168['keepQuotes'] = false; $arguments168['encoding'] = 'UTF-8'; $arguments168['doubleEncode'] = true; $renderChildrenClosure169 = function () use($renderingContext, $self) { return NULL; }; $value170 = $arguments168['value'] !== NULL ? $arguments168['value'] : $renderChildrenClosure169(); return !is_string($value170) && !(is_object($value170) && method_exists($value170, '__toString')) ? $value170 : htmlspecialchars($value170, $arguments168['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments168['encoding'], $arguments168['doubleEncode']); }; $viewHelper171 = $self->getViewHelper('$viewHelper171', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper171->setArguments($arguments165); $viewHelper171->setRenderingContext($renderingContext); $viewHelper171->setRenderChildrenClosure($renderChildrenClosure167); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output164 .= $viewHelper171->initializeArgumentsAndRender(); $output164 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments172 = array(); $arguments172['action'] = 'edit'; // Rendering Array $array173 = array(); $array173['form'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form', $renderingContext); $arguments172['arguments'] = $array173; $arguments172['additionalAttributes'] = NULL; $arguments172['data'] = NULL; $arguments172['controller'] = NULL; $arguments172['package'] = NULL; $arguments172['subpackage'] = NULL; $arguments172['section'] = ''; $arguments172['format'] = ''; $arguments172['additionalParams'] = array(); $arguments172['addQueryString'] = false; $arguments172['argumentsToBeExcludedFromQueryString'] = array(); $arguments172['useParentRequest'] = false; $arguments172['absolute'] = true; $arguments172['class'] = NULL; $arguments172['dir'] = NULL; $arguments172['id'] = NULL; $arguments172['lang'] = NULL; $arguments172['style'] = NULL; $arguments172['title'] = NULL; $arguments172['accesskey'] = NULL; $arguments172['tabindex'] = NULL; $arguments172['onclick'] = NULL; $arguments172['name'] = NULL; $arguments172['rel'] = NULL; $arguments172['rev'] = NULL; $arguments172['target'] = NULL; $renderChildrenClosure174 = function () use($renderingContext, $self) { return 'Edit'; }; $viewHelper175 = $self->getViewHelper('$viewHelper175', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper175->setArguments($arguments172); $viewHelper175->setRenderingContext($renderingContext); $viewHelper175->setRenderChildrenClosure($renderChildrenClosure174); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output164 .= $viewHelper175->initializeArgumentsAndRender(); $output164 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $arguments176 = array(); $arguments176['action'] = 'delete'; // Rendering Array $array177 = array(); $array177['form'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form', $renderingContext); $arguments176['arguments'] = $array177; $arguments176['additionalAttributes'] = NULL; $arguments176['data'] = NULL; $arguments176['controller'] = NULL; $arguments176['package'] = NULL; $arguments176['subpackage'] = NULL; $arguments176['object'] = NULL; $arguments176['section'] = ''; $arguments176['format'] = ''; $arguments176['additionalParams'] = array(); $arguments176['absolute'] = false; $arguments176['addQueryString'] = false; $arguments176['argumentsToBeExcludedFromQueryString'] = array(); $arguments176['fieldNamePrefix'] = NULL; $arguments176['actionUri'] = NULL; $arguments176['objectName'] = NULL; $arguments176['useParentRequest'] = false; $arguments176['enctype'] = NULL; $arguments176['method'] = NULL; $arguments176['name'] = NULL; $arguments176['onreset'] = NULL; $arguments176['onsubmit'] = NULL; $arguments176['class'] = NULL; $arguments176['dir'] = NULL; $arguments176['id'] = NULL; $arguments176['lang'] = NULL; $arguments176['style'] = NULL; $arguments176['title'] = NULL; $arguments176['accesskey'] = NULL; $arguments176['tabindex'] = NULL; $arguments176['onclick'] = NULL; $renderChildrenClosure178 = function () use($renderingContext, $self) { $output179 = ''; $output179 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $arguments180 = array(); $arguments180['value'] = 'Delete'; $arguments180['additionalAttributes'] = NULL; $arguments180['data'] = NULL; $arguments180['name'] = NULL; $arguments180['property'] = NULL; $arguments180['disabled'] = NULL; $arguments180['class'] = NULL; $arguments180['dir'] = NULL; $arguments180['id'] = NULL; $arguments180['lang'] = NULL; $arguments180['style'] = NULL; $arguments180['title'] = NULL; $arguments180['accesskey'] = NULL; $arguments180['tabindex'] = NULL; $arguments180['onclick'] = NULL; $renderChildrenClosure181 = function () use($renderingContext, $self) { return NULL; }; $viewHelper182 = $self->getViewHelper('$viewHelper182', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\SubmitViewHelper'); $viewHelper182->setArguments($arguments180); $viewHelper182->setRenderingContext($renderingContext); $viewHelper182->setRenderChildrenClosure($renderChildrenClosure181); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $output179 .= $viewHelper182->initializeArgumentsAndRender(); $output179 .= ' '; return $output179; }; $viewHelper183 = $self->getViewHelper('$viewHelper183', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\FormViewHelper'); $viewHelper183->setArguments($arguments176); $viewHelper183->setRenderingContext($renderingContext); $viewHelper183->setRenderChildrenClosure($renderChildrenClosure178); // End of ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $output164 .= $viewHelper183->initializeArgumentsAndRender(); $output164 .= ' </li> '; return $output164; }; $output161 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments162, $renderChildrenClosure163, $renderingContext); $output161 .= ' </ul> '; return $output161; }; $arguments129['__elseClosure'] = function () use($renderingContext, $self) { return ' <p>No forms created yet.</p> '; }; $viewHelper184 = $self->getViewHelper('$viewHelper184', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\IfViewHelper'); $viewHelper184->setArguments($arguments129); $viewHelper184->setRenderingContext($renderingContext); $viewHelper184->setRenderChildrenClosure($renderChildrenClosure130); // End of ViewHelper TYPO3\Fluid\ViewHelpers\IfViewHelper $output128 .= $viewHelper184->initializeArgumentsAndRender(); $output128 .= ' --> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments185 = array(); $arguments185['action'] = 'new'; $arguments185['additionalAttributes'] = NULL; $arguments185['data'] = NULL; $arguments185['arguments'] = array(); $arguments185['controller'] = NULL; $arguments185['package'] = NULL; $arguments185['subpackage'] = NULL; $arguments185['section'] = ''; $arguments185['format'] = ''; $arguments185['additionalParams'] = array(); $arguments185['addQueryString'] = false; $arguments185['argumentsToBeExcludedFromQueryString'] = array(); $arguments185['useParentRequest'] = false; $arguments185['absolute'] = true; $arguments185['class'] = NULL; $arguments185['dir'] = NULL; $arguments185['id'] = NULL; $arguments185['lang'] = NULL; $arguments185['style'] = NULL; $arguments185['title'] = NULL; $arguments185['accesskey'] = NULL; $arguments185['tabindex'] = NULL; $arguments185['onclick'] = NULL; $arguments185['name'] = NULL; $arguments185['rel'] = NULL; $arguments185['rev'] = NULL; $arguments185['target'] = NULL; $renderChildrenClosure186 = function () use($renderingContext, $self) { return 'Create a new form'; }; $viewHelper187 = $self->getViewHelper('$viewHelper187', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper187->setArguments($arguments185); $viewHelper187->setRenderingContext($renderingContext); $viewHelper187->setRenderChildrenClosure($renderChildrenClosure186); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output128 .= $viewHelper187->initializeArgumentsAndRender(); $output128 .= '</p> <nav class="navbar navbar-default"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navigation" aria-expanded="false"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a href="" class="navbar-brand">Team 2</a> </div> <!-- End navbar-header --> <div class="collapse navbar-collapse" id="navigation"> <ul class="nav navbar-nav navbar-right"> <li id="list-1" class="item active"><a href="">Home</a></li> <li id="list-'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments188 = array(); $arguments188['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'key.circle', $renderingContext); $arguments188['keepQuotes'] = false; $arguments188['encoding'] = 'UTF-8'; $arguments188['doubleEncode'] = true; $renderChildrenClosure189 = function () use($renderingContext, $self) { return NULL; }; $value190 = $arguments188['value'] !== NULL ? $arguments188['value'] : $renderChildrenClosure189(); $output128 .= !is_string($value190) && !(is_object($value190) && method_exists($value190, '__toString')) ? $value190 : htmlspecialchars($value190, $arguments188['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments188['encoding'], $arguments188['doubleEncode']); $output128 .= '" class="item"><a id="form-'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments191 = array(); $arguments191['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'key.circle', $renderingContext); $arguments191['keepQuotes'] = false; $arguments191['encoding'] = 'UTF-8'; $arguments191['doubleEncode'] = true; $renderChildrenClosure192 = function () use($renderingContext, $self) { return NULL; }; $value193 = $arguments191['value'] !== NULL ? $arguments191['value'] : $renderChildrenClosure192(); $output128 .= !is_string($value193) && !(is_object($value193) && method_exists($value193, '__toString')) ? $value193 : htmlspecialchars($value193, $arguments191['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments191['encoding'], $arguments191['doubleEncode']); $output128 .= '" class="list" role="button" >'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments194 = array(); $arguments194['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form', $renderingContext); $arguments194['keepQuotes'] = false; $arguments194['encoding'] = 'UTF-8'; $arguments194['doubleEncode'] = true; $renderChildrenClosure195 = function () use($renderingContext, $self) { return NULL; }; $value196 = $arguments194['value'] !== NULL ? $arguments194['value'] : $renderChildrenClosure195(); $output128 .= !is_string($value196) && !(is_object($value196) && method_exists($value196, '__toString')) ? $value196 : htmlspecialchars($value196, $arguments194['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments194['encoding'], $arguments194['doubleEncode']); $output128 .= '</a></li> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\IfViewHelper $arguments197 = array(); // Rendering Boolean node $arguments197['condition'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(\TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'forms', $renderingContext)); $arguments197['then'] = NULL; $arguments197['else'] = NULL; $renderChildrenClosure198 = function () use($renderingContext, $self) { $output199 = ''; $output199 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ThenViewHelper $arguments200 = array(); $renderChildrenClosure201 = function () use($renderingContext, $self) { $output202 = ''; $output202 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments203 = array(); $arguments203['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'forms', $renderingContext); $arguments203['as'] = 'form'; $arguments203['iteration'] = 'key'; $arguments203['key'] = ''; $arguments203['reverse'] = false; $renderChildrenClosure204 = function () use($renderingContext, $self) { $output205 = ''; $output205 .= ' <li id="list-'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments206 = array(); $arguments206['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'key.circle', $renderingContext); $arguments206['keepQuotes'] = false; $arguments206['encoding'] = 'UTF-8'; $arguments206['doubleEncode'] = true; $renderChildrenClosure207 = function () use($renderingContext, $self) { return NULL; }; $value208 = $arguments206['value'] !== NULL ? $arguments206['value'] : $renderChildrenClosure207(); $output205 .= !is_string($value208) && !(is_object($value208) && method_exists($value208, '__toString')) ? $value208 : htmlspecialchars($value208, $arguments206['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments206['encoding'], $arguments206['doubleEncode']); $output205 .= '" class="item"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments209 = array(); $arguments209['action'] = 'show'; // Rendering Array $array210 = array(); $array210['form'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form', $renderingContext); $arguments209['arguments'] = $array210; $output211 = ''; $output211 .= 'form-'; $output211 .= \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'key.circle', $renderingContext); $arguments209['id'] = $output211; $arguments209['class'] = 'list'; $arguments209['additionalAttributes'] = NULL; $arguments209['data'] = NULL; $arguments209['controller'] = NULL; $arguments209['package'] = NULL; $arguments209['subpackage'] = NULL; $arguments209['section'] = ''; $arguments209['format'] = ''; $arguments209['additionalParams'] = array(); $arguments209['addQueryString'] = false; $arguments209['argumentsToBeExcludedFromQueryString'] = array(); $arguments209['useParentRequest'] = false; $arguments209['absolute'] = true; $arguments209['dir'] = NULL; $arguments209['lang'] = NULL; $arguments209['style'] = NULL; $arguments209['title'] = NULL; $arguments209['accesskey'] = NULL; $arguments209['tabindex'] = NULL; $arguments209['onclick'] = NULL; $arguments209['name'] = NULL; $arguments209['rel'] = NULL; $arguments209['rev'] = NULL; $arguments209['target'] = NULL; $renderChildrenClosure212 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments213 = array(); $arguments213['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form.name', $renderingContext); $arguments213['keepQuotes'] = false; $arguments213['encoding'] = 'UTF-8'; $arguments213['doubleEncode'] = true; $renderChildrenClosure214 = function () use($renderingContext, $self) { return NULL; }; $value215 = $arguments213['value'] !== NULL ? $arguments213['value'] : $renderChildrenClosure214(); return !is_string($value215) && !(is_object($value215) && method_exists($value215, '__toString')) ? $value215 : htmlspecialchars($value215, $arguments213['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments213['encoding'], $arguments213['doubleEncode']); }; $viewHelper216 = $self->getViewHelper('$viewHelper216', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper216->setArguments($arguments209); $viewHelper216->setRenderingContext($renderingContext); $viewHelper216->setRenderChildrenClosure($renderChildrenClosure212); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output205 .= $viewHelper216->initializeArgumentsAndRender(); $output205 .= ' </li> '; return $output205; }; $output202 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments203, $renderChildrenClosure204, $renderingContext); $output202 .= ' '; return $output202; }; $viewHelper217 = $self->getViewHelper('$viewHelper217', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\ThenViewHelper'); $viewHelper217->setArguments($arguments200); $viewHelper217->setRenderingContext($renderingContext); $viewHelper217->setRenderChildrenClosure($renderChildrenClosure201); // End of ViewHelper TYPO3\Fluid\ViewHelpers\ThenViewHelper $output199 .= $viewHelper217->initializeArgumentsAndRender(); $output199 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ElseViewHelper $arguments218 = array(); $renderChildrenClosure219 = function () use($renderingContext, $self) { return ' <p>No forms created yet.</p> '; }; $viewHelper220 = $self->getViewHelper('$viewHelper220', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\ElseViewHelper'); $viewHelper220->setArguments($arguments218); $viewHelper220->setRenderingContext($renderingContext); $viewHelper220->setRenderChildrenClosure($renderChildrenClosure219); // End of ViewHelper TYPO3\Fluid\ViewHelpers\ElseViewHelper $output199 .= $viewHelper220->initializeArgumentsAndRender(); $output199 .= ' '; return $output199; }; $arguments197['__thenClosure'] = function () use($renderingContext, $self) { $output221 = ''; $output221 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments222 = array(); $arguments222['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'forms', $renderingContext); $arguments222['as'] = 'form'; $arguments222['iteration'] = 'key'; $arguments222['key'] = ''; $arguments222['reverse'] = false; $renderChildrenClosure223 = function () use($renderingContext, $self) { $output224 = ''; $output224 .= ' <li id="list-'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments225 = array(); $arguments225['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'key.circle', $renderingContext); $arguments225['keepQuotes'] = false; $arguments225['encoding'] = 'UTF-8'; $arguments225['doubleEncode'] = true; $renderChildrenClosure226 = function () use($renderingContext, $self) { return NULL; }; $value227 = $arguments225['value'] !== NULL ? $arguments225['value'] : $renderChildrenClosure226(); $output224 .= !is_string($value227) && !(is_object($value227) && method_exists($value227, '__toString')) ? $value227 : htmlspecialchars($value227, $arguments225['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments225['encoding'], $arguments225['doubleEncode']); $output224 .= '" class="item"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments228 = array(); $arguments228['action'] = 'show'; // Rendering Array $array229 = array(); $array229['form'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form', $renderingContext); $arguments228['arguments'] = $array229; $output230 = ''; $output230 .= 'form-'; $output230 .= \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'key.circle', $renderingContext); $arguments228['id'] = $output230; $arguments228['class'] = 'list'; $arguments228['additionalAttributes'] = NULL; $arguments228['data'] = NULL; $arguments228['controller'] = NULL; $arguments228['package'] = NULL; $arguments228['subpackage'] = NULL; $arguments228['section'] = ''; $arguments228['format'] = ''; $arguments228['additionalParams'] = array(); $arguments228['addQueryString'] = false; $arguments228['argumentsToBeExcludedFromQueryString'] = array(); $arguments228['useParentRequest'] = false; $arguments228['absolute'] = true; $arguments228['dir'] = NULL; $arguments228['lang'] = NULL; $arguments228['style'] = NULL; $arguments228['title'] = NULL; $arguments228['accesskey'] = NULL; $arguments228['tabindex'] = NULL; $arguments228['onclick'] = NULL; $arguments228['name'] = NULL; $arguments228['rel'] = NULL; $arguments228['rev'] = NULL; $arguments228['target'] = NULL; $renderChildrenClosure231 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments232 = array(); $arguments232['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form.name', $renderingContext); $arguments232['keepQuotes'] = false; $arguments232['encoding'] = 'UTF-8'; $arguments232['doubleEncode'] = true; $renderChildrenClosure233 = function () use($renderingContext, $self) { return NULL; }; $value234 = $arguments232['value'] !== NULL ? $arguments232['value'] : $renderChildrenClosure233(); return !is_string($value234) && !(is_object($value234) && method_exists($value234, '__toString')) ? $value234 : htmlspecialchars($value234, $arguments232['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments232['encoding'], $arguments232['doubleEncode']); }; $viewHelper235 = $self->getViewHelper('$viewHelper235', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper235->setArguments($arguments228); $viewHelper235->setRenderingContext($renderingContext); $viewHelper235->setRenderChildrenClosure($renderChildrenClosure231); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output224 .= $viewHelper235->initializeArgumentsAndRender(); $output224 .= ' </li> '; return $output224; }; $output221 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments222, $renderChildrenClosure223, $renderingContext); $output221 .= ' '; return $output221; }; $arguments197['__elseClosure'] = function () use($renderingContext, $self) { return ' <p>No forms created yet.</p> '; }; $viewHelper236 = $self->getViewHelper('$viewHelper236', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\IfViewHelper'); $viewHelper236->setArguments($arguments197); $viewHelper236->setRenderingContext($renderingContext); $viewHelper236->setRenderChildrenClosure($renderChildrenClosure198); // End of ViewHelper TYPO3\Fluid\ViewHelpers\IfViewHelper $output128 .= $viewHelper236->initializeArgumentsAndRender(); $output128 .= ' <li id="list-5" class="dropdown item"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments237 = array(); $arguments237['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'usrname', $renderingContext); $arguments237['keepQuotes'] = false; $arguments237['encoding'] = 'UTF-8'; $arguments237['doubleEncode'] = true; $renderChildrenClosure238 = function () use($renderingContext, $self) { return NULL; }; $value239 = $arguments237['value'] !== NULL ? $arguments237['value'] : $renderChildrenClosure238(); $output128 .= !is_string($value239) && !(is_object($value239) && method_exists($value239, '__toString')) ? $value239 : htmlspecialchars($value239, $arguments237['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments237['encoding'], $arguments237['doubleEncode']); $output128 .= ' <span class="caret"></span></a> <ul class="dropdown-menu"> <li >'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments240 = array(); $arguments240['action'] = 'logout'; $arguments240['additionalAttributes'] = NULL; $arguments240['data'] = NULL; $arguments240['arguments'] = array(); $arguments240['controller'] = NULL; $arguments240['package'] = NULL; $arguments240['subpackage'] = NULL; $arguments240['section'] = ''; $arguments240['format'] = ''; $arguments240['additionalParams'] = array(); $arguments240['addQueryString'] = false; $arguments240['argumentsToBeExcludedFromQueryString'] = array(); $arguments240['useParentRequest'] = false; $arguments240['absolute'] = true; $arguments240['class'] = NULL; $arguments240['dir'] = NULL; $arguments240['id'] = NULL; $arguments240['lang'] = NULL; $arguments240['style'] = NULL; $arguments240['title'] = NULL; $arguments240['accesskey'] = NULL; $arguments240['tabindex'] = NULL; $arguments240['onclick'] = NULL; $arguments240['name'] = NULL; $arguments240['rel'] = NULL; $arguments240['rev'] = NULL; $arguments240['target'] = NULL; $renderChildrenClosure241 = function () use($renderingContext, $self) { return 'Logout'; }; $viewHelper242 = $self->getViewHelper('$viewHelper242', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper242->setArguments($arguments240); $viewHelper242->setRenderingContext($renderingContext); $viewHelper242->setRenderChildrenClosure($renderChildrenClosure241); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output128 .= $viewHelper242->initializeArgumentsAndRender(); $output128 .= '</li> </ul> </li> </ul> </div> </div> <!-- End container-fluid --> </nav> <div class="container"> <div class="row"> <h3 id="listTitle" class="text-center" style="margin-bottom: 20px;margin-top: 0px;"></h3> </div> </div> <div class="container"> <div id="questionList" class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="jumbotron" style="padding: 5% 10%;"> <h1></h1> <p id="content"></p> <p class="text-right"><a id="next" class="btn btn-primary btn-lg" role="button">Next</a> <a id="btn-frm1" class="btn btn-primary btn-lg" role="button" style="visibility:hidden">Go to Form1</a> </p> </div> </div> <!-- Question list here --> </div> <div id="btn-group" class="text-right"> <button class="btn btn-primary" type="button" name="Submit" data-toggle="modal" data-target="#myModal">Submit</button> <button class="btn btn-danger" type="button" name="Cancel">Cancel</button> </div> </div> <div class="container"> <div class="row"> <!-- Modal --> <div id="myModal" class="modal fade" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <!-- <div class="modal-header"> <h3>Your Answer here: </h3> <button type="button" class="close" data-dismiss="modal">×</button> </div> --> <div class="modal-body" id="answerbody"> <button type="button" class="close" data-dismiss="modal">×</button> <table id="answerContainer" class="table" style="display: none" border="0"> <tr> <th>Label:</th> <th>Answer:</th> </tr> </table> </div> <div class="modal-footer"> <button type="button" class="btn btn-primary" data-dismiss="modal">Done</button> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </div> </div> </div> '; return $output128; }; $output115 .= ''; $output115 .= ' '; return $output115; }
/** * Main Render function */ public function render(\TYPO3\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $self = $this; $output0 = ''; $output0 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\IfViewHelper $arguments1 = array(); // Rendering Boolean node $stack2 = unserialize('a:1:{i:0;O:53:"TYPO3\\Fluid\\Core\\Parser\\SyntaxTree\\ObjectAccessorNode":2:{s:13:"*objectPath";s:21:"schema.listProperties";s:13:"*childNodes";a:0:{}}}'); $arguments1['condition'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\BooleanNode::evaluateStack($renderingContext, $stack2); $arguments1['then'] = NULL; $arguments1['else'] = NULL; $renderChildrenClosure3 = function () use($renderingContext, $self) { $output4 = ''; $output4 .= ' <tr> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments5 = array(); $arguments5['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'schema.listProperties', $renderingContext); $arguments5['as'] = 'property'; $arguments5['key'] = NULL; $arguments5['reverse'] = false; $arguments5['iteration'] = NULL; $renderChildrenClosure6 = function () use($renderingContext, $self) { $output7 = ''; $output7 .= ' <th> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments8 = array(); // Rendering ViewHelper Flowpack\Expose\ViewHelpers\WrapViewHelper $arguments9 = array(); $arguments9['name'] = 'property'; // Rendering Array $array10 = array(); $array10['property'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'property.name', $renderingContext); $arguments9['arguments'] = $array10; $renderChildrenClosure11 = function () use($renderingContext, $self) { $output12 = ''; $output12 .= '<i class="fa"></i> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments13 = array(); $arguments13['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'property.label', $renderingContext); $arguments13['keepQuotes'] = false; $arguments13['encoding'] = 'UTF-8'; $arguments13['doubleEncode'] = true; $renderChildrenClosure14 = function () use($renderingContext, $self) { return NULL; }; $value15 = $arguments13['value'] !== NULL ? $arguments13['value'] : $renderChildrenClosure14(); $output12 .= !is_string($value15) && !(is_object($value15) && method_exists($value15, '__toString')) ? $value15 : htmlspecialchars($value15, $arguments13['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments13['encoding'], $arguments13['doubleEncode']); return $output12; }; $viewHelper16 = $self->getViewHelper('$viewHelper16', $renderingContext, 'Flowpack\\Expose\\ViewHelpers\\WrapViewHelper'); $viewHelper16->setArguments($arguments9); $viewHelper16->setRenderingContext($renderingContext); $viewHelper16->setRenderChildrenClosure($renderChildrenClosure11); // End of ViewHelper Flowpack\Expose\ViewHelpers\WrapViewHelper $arguments8['value'] = $viewHelper16->initializeArgumentsAndRender(); $arguments8['keepQuotes'] = false; $arguments8['encoding'] = 'UTF-8'; $arguments8['doubleEncode'] = true; $renderChildrenClosure17 = function () use($renderingContext, $self) { return NULL; }; $value18 = $arguments8['value'] !== NULL ? $arguments8['value'] : $renderChildrenClosure17(); $output7 .= !is_string($value18) && !(is_object($value18) && method_exists($value18, '__toString')) ? $value18 : htmlspecialchars($value18, $arguments8['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments8['encoding'], $arguments8['doubleEncode']); $output7 .= ' </th> '; return $output7; }; $output4 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments5, $renderChildrenClosure6, $renderingContext); $output4 .= ' </tr> '; return $output4; }; $viewHelper19 = $self->getViewHelper('$viewHelper19', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\IfViewHelper'); $viewHelper19->setArguments($arguments1); $viewHelper19->setRenderingContext($renderingContext); $viewHelper19->setRenderChildrenClosure($renderChildrenClosure3); // End of ViewHelper TYPO3\Fluid\ViewHelpers\IfViewHelper $output0 .= $viewHelper19->initializeArgumentsAndRender(); return $output0; }
/** * Main Render function */ public function render(\TYPO3\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $self = $this; $output84 = ''; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments85 = array(); // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments86 = array(); $arguments86['name'] = 'Default'; $renderChildrenClosure87 = function () use($renderingContext, $self) { return NULL; }; $viewHelper88 = $self->getViewHelper('$viewHelper88', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\LayoutViewHelper'); $viewHelper88->setArguments($arguments86); $viewHelper88->setRenderingContext($renderingContext); $viewHelper88->setRenderChildrenClosure($renderChildrenClosure87); // End of ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments85['value'] = $viewHelper88->initializeArgumentsAndRender(); $arguments85['keepQuotes'] = false; $arguments85['encoding'] = 'UTF-8'; $arguments85['doubleEncode'] = true; $renderChildrenClosure89 = function () use($renderingContext, $self) { return NULL; }; $value90 = $arguments85['value'] !== NULL ? $arguments85['value'] : $renderChildrenClosure89(); $output84 .= !is_string($value90) && !(is_object($value90) && method_exists($value90, '__toString')) ? $value90 : htmlspecialchars($value90, $arguments85['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments85['encoding'], $arguments85['doubleEncode']); $output84 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments91 = array(); $arguments91['name'] = 'Title'; $renderChildrenClosure92 = function () use($renderingContext, $self) { return NULL; }; $output84 .= ''; $output84 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments93 = array(); $arguments93['name'] = 'stylesheet'; $renderChildrenClosure94 = function () use($renderingContext, $self) { return NULL; }; $output84 .= ''; $output84 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments95 = array(); $arguments95['name'] = 'Content'; $renderChildrenClosure96 = function () use($renderingContext, $self) { $output97 = ''; $output97 .= ' <!-- '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments98 = array(); $arguments98['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form.questions', $renderingContext); $arguments98['as'] = 'question'; $arguments98['key'] = ''; $arguments98['reverse'] = false; $arguments98['iteration'] = NULL; $renderChildrenClosure99 = function () use($renderingContext, $self) { $output100 = ''; $output100 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments101 = array(); $arguments101['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'question.sentence', $renderingContext); $arguments101['keepQuotes'] = false; $arguments101['encoding'] = 'UTF-8'; $arguments101['doubleEncode'] = true; $renderChildrenClosure102 = function () use($renderingContext, $self) { return NULL; }; $value103 = $arguments101['value'] !== NULL ? $arguments101['value'] : $renderChildrenClosure102(); $output100 .= !is_string($value103) && !(is_object($value103) && method_exists($value103, '__toString')) ? $value103 : htmlspecialchars($value103, $arguments101['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments101['encoding'], $arguments101['doubleEncode']); $output100 .= ' '; return $output100; }; $output97 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments98, $renderChildrenClosure99, $renderingContext); $output97 .= ' <table> <tr> <th>Name</th> <td>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments104 = array(); $arguments104['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form.name', $renderingContext); $arguments104['keepQuotes'] = false; $arguments104['encoding'] = 'UTF-8'; $arguments104['doubleEncode'] = true; $renderChildrenClosure105 = function () use($renderingContext, $self) { return NULL; }; $value106 = $arguments104['value'] !== NULL ? $arguments104['value'] : $renderChildrenClosure105(); $output97 .= !is_string($value106) && !(is_object($value106) && method_exists($value106, '__toString')) ? $value106 : htmlspecialchars($value106, $arguments104['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments104['encoding'], $arguments104['doubleEncode']); $output97 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $arguments107 = array(); $arguments107['action'] = 'create'; $arguments107['controller'] = 'question'; $arguments107['objectName'] = 'newQuestion'; $arguments107['additionalAttributes'] = NULL; $arguments107['data'] = NULL; $arguments107['arguments'] = array(); $arguments107['package'] = NULL; $arguments107['subpackage'] = NULL; $arguments107['object'] = NULL; $arguments107['section'] = ''; $arguments107['format'] = ''; $arguments107['additionalParams'] = array(); $arguments107['absolute'] = false; $arguments107['addQueryString'] = false; $arguments107['argumentsToBeExcludedFromQueryString'] = array(); $arguments107['fieldNamePrefix'] = NULL; $arguments107['actionUri'] = NULL; $arguments107['useParentRequest'] = false; $arguments107['enctype'] = NULL; $arguments107['method'] = NULL; $arguments107['name'] = NULL; $arguments107['onreset'] = NULL; $arguments107['onsubmit'] = NULL; $arguments107['class'] = NULL; $arguments107['dir'] = NULL; $arguments107['id'] = NULL; $arguments107['lang'] = NULL; $arguments107['style'] = NULL; $arguments107['title'] = NULL; $arguments107['accesskey'] = NULL; $arguments107['tabindex'] = NULL; $arguments107['onclick'] = NULL; $renderChildrenClosure108 = function () use($renderingContext, $self) { $output109 = ''; $output109 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\TextfieldViewHelper $arguments110 = array(); $arguments110['property'] = 'sentence'; $arguments110['additionalAttributes'] = NULL; $arguments110['data'] = NULL; $arguments110['required'] = false; $arguments110['type'] = 'text'; $arguments110['name'] = NULL; $arguments110['value'] = NULL; $arguments110['disabled'] = NULL; $arguments110['maxlength'] = NULL; $arguments110['readonly'] = NULL; $arguments110['size'] = NULL; $arguments110['placeholder'] = NULL; $arguments110['autofocus'] = NULL; $arguments110['errorClass'] = 'f3-form-error'; $arguments110['class'] = NULL; $arguments110['dir'] = NULL; $arguments110['id'] = NULL; $arguments110['lang'] = NULL; $arguments110['style'] = NULL; $arguments110['title'] = NULL; $arguments110['accesskey'] = NULL; $arguments110['tabindex'] = NULL; $arguments110['onclick'] = NULL; $renderChildrenClosure111 = function () use($renderingContext, $self) { return NULL; }; $viewHelper112 = $self->getViewHelper('$viewHelper112', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\TextfieldViewHelper'); $viewHelper112->setArguments($arguments110); $viewHelper112->setRenderingContext($renderingContext); $viewHelper112->setRenderChildrenClosure($renderChildrenClosure111); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\TextfieldViewHelper $output109 .= $viewHelper112->initializeArgumentsAndRender(); $output109 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\HiddenViewHelper $arguments113 = array(); $arguments113['property'] = 'form'; $arguments113['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form', $renderingContext); $arguments113['additionalAttributes'] = NULL; $arguments113['data'] = NULL; $arguments113['name'] = NULL; $arguments113['class'] = NULL; $arguments113['dir'] = NULL; $arguments113['id'] = NULL; $arguments113['lang'] = NULL; $arguments113['style'] = NULL; $arguments113['title'] = NULL; $arguments113['accesskey'] = NULL; $arguments113['tabindex'] = NULL; $arguments113['onclick'] = NULL; $renderChildrenClosure114 = function () use($renderingContext, $self) { return NULL; }; $viewHelper115 = $self->getViewHelper('$viewHelper115', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\HiddenViewHelper'); $viewHelper115->setArguments($arguments113); $viewHelper115->setRenderingContext($renderingContext); $viewHelper115->setRenderChildrenClosure($renderChildrenClosure114); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\HiddenViewHelper $output109 .= $viewHelper115->initializeArgumentsAndRender(); $output109 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $arguments116 = array(); $arguments116['value'] = 'Submit'; $arguments116['additionalAttributes'] = NULL; $arguments116['data'] = NULL; $arguments116['name'] = NULL; $arguments116['property'] = NULL; $arguments116['disabled'] = NULL; $arguments116['class'] = NULL; $arguments116['dir'] = NULL; $arguments116['id'] = NULL; $arguments116['lang'] = NULL; $arguments116['style'] = NULL; $arguments116['title'] = NULL; $arguments116['accesskey'] = NULL; $arguments116['tabindex'] = NULL; $arguments116['onclick'] = NULL; $renderChildrenClosure117 = function () use($renderingContext, $self) { return NULL; }; $viewHelper118 = $self->getViewHelper('$viewHelper118', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\SubmitViewHelper'); $viewHelper118->setArguments($arguments116); $viewHelper118->setRenderingContext($renderingContext); $viewHelper118->setRenderChildrenClosure($renderChildrenClosure117); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $output109 .= $viewHelper118->initializeArgumentsAndRender(); $output109 .= ' '; return $output109; }; $viewHelper119 = $self->getViewHelper('$viewHelper119', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\FormViewHelper'); $viewHelper119->setArguments($arguments107); $viewHelper119->setRenderingContext($renderingContext); $viewHelper119->setRenderChildrenClosure($renderChildrenClosure108); // End of ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $output97 .= $viewHelper119->initializeArgumentsAndRender(); $output97 .= ' </td> </tr> </table> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments120 = array(); $arguments120['action'] = 'index'; $arguments120['additionalAttributes'] = NULL; $arguments120['data'] = NULL; $arguments120['arguments'] = array(); $arguments120['controller'] = NULL; $arguments120['package'] = NULL; $arguments120['subpackage'] = NULL; $arguments120['section'] = ''; $arguments120['format'] = ''; $arguments120['additionalParams'] = array(); $arguments120['addQueryString'] = false; $arguments120['argumentsToBeExcludedFromQueryString'] = array(); $arguments120['useParentRequest'] = false; $arguments120['absolute'] = true; $arguments120['class'] = NULL; $arguments120['dir'] = NULL; $arguments120['id'] = NULL; $arguments120['lang'] = NULL; $arguments120['style'] = NULL; $arguments120['title'] = NULL; $arguments120['accesskey'] = NULL; $arguments120['tabindex'] = NULL; $arguments120['onclick'] = NULL; $arguments120['name'] = NULL; $arguments120['rel'] = NULL; $arguments120['rev'] = NULL; $arguments120['target'] = NULL; $renderChildrenClosure121 = function () use($renderingContext, $self) { return 'Back'; }; $viewHelper122 = $self->getViewHelper('$viewHelper122', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper122->setArguments($arguments120); $viewHelper122->setRenderingContext($renderingContext); $viewHelper122->setRenderChildrenClosure($renderChildrenClosure121); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output97 .= $viewHelper122->initializeArgumentsAndRender(); $output97 .= ' --> <nav class="navbar navbar-default"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navigation" aria-expanded="false"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a href="" class="navbar-brand">Team 2</a> </div> <!-- End navbar-header --> <div class="collapse navbar-collapse" id="navigation"> <ul class="nav navbar-nav navbar-right"> <li id="list-1" class="item active"><a href="">Home</a></li> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\IfViewHelper $arguments123 = array(); // Rendering Boolean node $arguments123['condition'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(\TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'forms', $renderingContext)); $arguments123['then'] = NULL; $arguments123['else'] = NULL; $renderChildrenClosure124 = function () use($renderingContext, $self) { $output125 = ''; $output125 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ThenViewHelper $arguments126 = array(); $renderChildrenClosure127 = function () use($renderingContext, $self) { $output128 = ''; $output128 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments129 = array(); $arguments129['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'forms', $renderingContext); $arguments129['as'] = 'format'; $arguments129['iteration'] = 'key'; $arguments129['key'] = ''; $arguments129['reverse'] = false; $renderChildrenClosure130 = function () use($renderingContext, $self) { $output131 = ''; $output131 .= ' <li id="list-'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments132 = array(); $arguments132['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'key.cycle', $renderingContext); $arguments132['keepQuotes'] = false; $arguments132['encoding'] = 'UTF-8'; $arguments132['doubleEncode'] = true; $renderChildrenClosure133 = function () use($renderingContext, $self) { return NULL; }; $value134 = $arguments132['value'] !== NULL ? $arguments132['value'] : $renderChildrenClosure133(); $output131 .= !is_string($value134) && !(is_object($value134) && method_exists($value134, '__toString')) ? $value134 : htmlspecialchars($value134, $arguments132['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments132['encoding'], $arguments132['doubleEncode']); $output131 .= '" class="item"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments135 = array(); $arguments135['action'] = 'show'; // Rendering Array $array136 = array(); $array136['format'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'format', $renderingContext); $arguments135['arguments'] = $array136; $output137 = ''; $output137 .= 'form-'; $output137 .= \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'key.cycle', $renderingContext); $arguments135['id'] = $output137; $arguments135['class'] = 'list'; $arguments135['additionalAttributes'] = NULL; $arguments135['data'] = NULL; $arguments135['controller'] = NULL; $arguments135['package'] = NULL; $arguments135['subpackage'] = NULL; $arguments135['section'] = ''; $arguments135['format'] = ''; $arguments135['additionalParams'] = array(); $arguments135['addQueryString'] = false; $arguments135['argumentsToBeExcludedFromQueryString'] = array(); $arguments135['useParentRequest'] = false; $arguments135['absolute'] = true; $arguments135['dir'] = NULL; $arguments135['lang'] = NULL; $arguments135['style'] = NULL; $arguments135['title'] = NULL; $arguments135['accesskey'] = NULL; $arguments135['tabindex'] = NULL; $arguments135['onclick'] = NULL; $arguments135['name'] = NULL; $arguments135['rel'] = NULL; $arguments135['rev'] = NULL; $arguments135['target'] = NULL; $renderChildrenClosure138 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments139 = array(); $arguments139['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'format.name', $renderingContext); $arguments139['keepQuotes'] = false; $arguments139['encoding'] = 'UTF-8'; $arguments139['doubleEncode'] = true; $renderChildrenClosure140 = function () use($renderingContext, $self) { return NULL; }; $value141 = $arguments139['value'] !== NULL ? $arguments139['value'] : $renderChildrenClosure140(); return !is_string($value141) && !(is_object($value141) && method_exists($value141, '__toString')) ? $value141 : htmlspecialchars($value141, $arguments139['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments139['encoding'], $arguments139['doubleEncode']); }; $viewHelper142 = $self->getViewHelper('$viewHelper142', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper142->setArguments($arguments135); $viewHelper142->setRenderingContext($renderingContext); $viewHelper142->setRenderChildrenClosure($renderChildrenClosure138); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output131 .= $viewHelper142->initializeArgumentsAndRender(); $output131 .= ' </li> '; return $output131; }; $output128 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments129, $renderChildrenClosure130, $renderingContext); $output128 .= ' '; return $output128; }; $viewHelper143 = $self->getViewHelper('$viewHelper143', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\ThenViewHelper'); $viewHelper143->setArguments($arguments126); $viewHelper143->setRenderingContext($renderingContext); $viewHelper143->setRenderChildrenClosure($renderChildrenClosure127); // End of ViewHelper TYPO3\Fluid\ViewHelpers\ThenViewHelper $output125 .= $viewHelper143->initializeArgumentsAndRender(); $output125 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ElseViewHelper $arguments144 = array(); $renderChildrenClosure145 = function () use($renderingContext, $self) { return ' <p>No forms created yet.</p> '; }; $viewHelper146 = $self->getViewHelper('$viewHelper146', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\ElseViewHelper'); $viewHelper146->setArguments($arguments144); $viewHelper146->setRenderingContext($renderingContext); $viewHelper146->setRenderChildrenClosure($renderChildrenClosure145); // End of ViewHelper TYPO3\Fluid\ViewHelpers\ElseViewHelper $output125 .= $viewHelper146->initializeArgumentsAndRender(); $output125 .= ' '; return $output125; }; $arguments123['__thenClosure'] = function () use($renderingContext, $self) { $output147 = ''; $output147 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments148 = array(); $arguments148['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'forms', $renderingContext); $arguments148['as'] = 'format'; $arguments148['iteration'] = 'key'; $arguments148['key'] = ''; $arguments148['reverse'] = false; $renderChildrenClosure149 = function () use($renderingContext, $self) { $output150 = ''; $output150 .= ' <li id="list-'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments151 = array(); $arguments151['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'key.cycle', $renderingContext); $arguments151['keepQuotes'] = false; $arguments151['encoding'] = 'UTF-8'; $arguments151['doubleEncode'] = true; $renderChildrenClosure152 = function () use($renderingContext, $self) { return NULL; }; $value153 = $arguments151['value'] !== NULL ? $arguments151['value'] : $renderChildrenClosure152(); $output150 .= !is_string($value153) && !(is_object($value153) && method_exists($value153, '__toString')) ? $value153 : htmlspecialchars($value153, $arguments151['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments151['encoding'], $arguments151['doubleEncode']); $output150 .= '" class="item"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments154 = array(); $arguments154['action'] = 'show'; // Rendering Array $array155 = array(); $array155['format'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'format', $renderingContext); $arguments154['arguments'] = $array155; $output156 = ''; $output156 .= 'form-'; $output156 .= \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'key.cycle', $renderingContext); $arguments154['id'] = $output156; $arguments154['class'] = 'list'; $arguments154['additionalAttributes'] = NULL; $arguments154['data'] = NULL; $arguments154['controller'] = NULL; $arguments154['package'] = NULL; $arguments154['subpackage'] = NULL; $arguments154['section'] = ''; $arguments154['format'] = ''; $arguments154['additionalParams'] = array(); $arguments154['addQueryString'] = false; $arguments154['argumentsToBeExcludedFromQueryString'] = array(); $arguments154['useParentRequest'] = false; $arguments154['absolute'] = true; $arguments154['dir'] = NULL; $arguments154['lang'] = NULL; $arguments154['style'] = NULL; $arguments154['title'] = NULL; $arguments154['accesskey'] = NULL; $arguments154['tabindex'] = NULL; $arguments154['onclick'] = NULL; $arguments154['name'] = NULL; $arguments154['rel'] = NULL; $arguments154['rev'] = NULL; $arguments154['target'] = NULL; $renderChildrenClosure157 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments158 = array(); $arguments158['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'format.name', $renderingContext); $arguments158['keepQuotes'] = false; $arguments158['encoding'] = 'UTF-8'; $arguments158['doubleEncode'] = true; $renderChildrenClosure159 = function () use($renderingContext, $self) { return NULL; }; $value160 = $arguments158['value'] !== NULL ? $arguments158['value'] : $renderChildrenClosure159(); return !is_string($value160) && !(is_object($value160) && method_exists($value160, '__toString')) ? $value160 : htmlspecialchars($value160, $arguments158['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments158['encoding'], $arguments158['doubleEncode']); }; $viewHelper161 = $self->getViewHelper('$viewHelper161', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper161->setArguments($arguments154); $viewHelper161->setRenderingContext($renderingContext); $viewHelper161->setRenderChildrenClosure($renderChildrenClosure157); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output150 .= $viewHelper161->initializeArgumentsAndRender(); $output150 .= ' </li> '; return $output150; }; $output147 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments148, $renderChildrenClosure149, $renderingContext); $output147 .= ' '; return $output147; }; $arguments123['__elseClosure'] = function () use($renderingContext, $self) { return ' <p>No forms created yet.</p> '; }; $viewHelper162 = $self->getViewHelper('$viewHelper162', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\IfViewHelper'); $viewHelper162->setArguments($arguments123); $viewHelper162->setRenderingContext($renderingContext); $viewHelper162->setRenderChildrenClosure($renderChildrenClosure124); // End of ViewHelper TYPO3\Fluid\ViewHelpers\IfViewHelper $output97 .= $viewHelper162->initializeArgumentsAndRender(); $output97 .= ' <li id="list-5" class="dropdown item"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments163 = array(); $arguments163['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'usrname', $renderingContext); $arguments163['keepQuotes'] = false; $arguments163['encoding'] = 'UTF-8'; $arguments163['doubleEncode'] = true; $renderChildrenClosure164 = function () use($renderingContext, $self) { return NULL; }; $value165 = $arguments163['value'] !== NULL ? $arguments163['value'] : $renderChildrenClosure164(); $output97 .= !is_string($value165) && !(is_object($value165) && method_exists($value165, '__toString')) ? $value165 : htmlspecialchars($value165, $arguments163['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments163['encoding'], $arguments163['doubleEncode']); $output97 .= ' <span class="caret"></span></a> <ul class="dropdown-menu"> <li >'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments166 = array(); $arguments166['action'] = 'logout'; $arguments166['additionalAttributes'] = NULL; $arguments166['data'] = NULL; $arguments166['arguments'] = array(); $arguments166['controller'] = NULL; $arguments166['package'] = NULL; $arguments166['subpackage'] = NULL; $arguments166['section'] = ''; $arguments166['format'] = ''; $arguments166['additionalParams'] = array(); $arguments166['addQueryString'] = false; $arguments166['argumentsToBeExcludedFromQueryString'] = array(); $arguments166['useParentRequest'] = false; $arguments166['absolute'] = true; $arguments166['class'] = NULL; $arguments166['dir'] = NULL; $arguments166['id'] = NULL; $arguments166['lang'] = NULL; $arguments166['style'] = NULL; $arguments166['title'] = NULL; $arguments166['accesskey'] = NULL; $arguments166['tabindex'] = NULL; $arguments166['onclick'] = NULL; $arguments166['name'] = NULL; $arguments166['rel'] = NULL; $arguments166['rev'] = NULL; $arguments166['target'] = NULL; $renderChildrenClosure167 = function () use($renderingContext, $self) { return 'Logout'; }; $viewHelper168 = $self->getViewHelper('$viewHelper168', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper168->setArguments($arguments166); $viewHelper168->setRenderingContext($renderingContext); $viewHelper168->setRenderChildrenClosure($renderChildrenClosure167); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output97 .= $viewHelper168->initializeArgumentsAndRender(); $output97 .= '</li> </ul> </li> </ul> </div> </div> <!-- End container-fluid --> </nav> <div class="container"> <div class="row"> <h3 id="listTitle" class="text-center" style="margin-bottom: 20px;margin-top: 0px;"></h3> </div> </div> <div class="container"> <div id="questionList" class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments169 = array(); $arguments169['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'form.questions', $renderingContext); $arguments169['as'] = 'question'; $arguments169['iteration'] = 'key'; $arguments169['key'] = ''; $arguments169['reverse'] = false; $renderChildrenClosure170 = function () use($renderingContext, $self) { $output171 = ''; $output171 .= ' <div class="col-md-6"> <div class="list-group"> <div class="list-group-item"> <h4 class="list-group-item-heading">'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments172 = array(); $arguments172['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'question.sentence', $renderingContext); $arguments172['keepQuotes'] = false; $arguments172['encoding'] = 'UTF-8'; $arguments172['doubleEncode'] = true; $renderChildrenClosure173 = function () use($renderingContext, $self) { return NULL; }; $value174 = $arguments172['value'] !== NULL ? $arguments172['value'] : $renderChildrenClosure173(); $output171 .= !is_string($value174) && !(is_object($value174) && method_exists($value174, '__toString')) ? $value174 : htmlspecialchars($value174, $arguments172['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments172['encoding'], $arguments172['doubleEncode']); $output171 .= '</h4> <input type="text" id="answer-'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments175 = array(); $arguments175['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'key.cycle', $renderingContext); $arguments175['keepQuotes'] = false; $arguments175['encoding'] = 'UTF-8'; $arguments175['doubleEncode'] = true; $renderChildrenClosure176 = function () use($renderingContext, $self) { return NULL; }; $value177 = $arguments175['value'] !== NULL ? $arguments175['value'] : $renderChildrenClosure176(); $output171 .= !is_string($value177) && !(is_object($value177) && method_exists($value177, '__toString')) ? $value177 : htmlspecialchars($value177, $arguments175['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments175['encoding'], $arguments175['doubleEncode']); $output171 .= ' \'" class="form-control" name="answer" placeholder="Input answer" required> <p id="alert-'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments178 = array(); $arguments178['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'key.cycle', $renderingContext); $arguments178['keepQuotes'] = false; $arguments178['encoding'] = 'UTF-8'; $arguments178['doubleEncode'] = true; $renderChildrenClosure179 = function () use($renderingContext, $self) { return NULL; }; $value180 = $arguments178['value'] !== NULL ? $arguments178['value'] : $renderChildrenClosure179(); $output171 .= !is_string($value180) && !(is_object($value180) && method_exists($value180, '__toString')) ? $value180 : htmlspecialchars($value180, $arguments178['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments178['encoding'], $arguments178['doubleEncode']); $output171 .= '" style="color: red;visibility: hidden;">*Please input your answer...</p> </div> </div> </div> '; return $output171; }; $output97 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments169, $renderChildrenClosure170, $renderingContext); $output97 .= ' </div> </div> <div id="btn-group" class="text-right"> <button class="btn btn-primary" type="button" name="Submit" data-toggle="modal" data-target="#myModal">Submit</button> <button class="btn btn-danger" type="button" name="Cancel">Cancel</button> </div> </div> <div class="container"> <div class="row"> <!-- Modal --> <div id="myModal" class="modal fade" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <!-- <div class="modal-header"> <h3>Your Answer here: </h3> <button type="button" class="close" data-dismiss="modal">×</button> </div> --> <div class="modal-body" id="answerbody"> <button type="button" class="close" data-dismiss="modal">×</button> <table id="answerContainer" class="table" style="display: none" border="0"> <tr> <th>Label:</th> <th>Answer:</th> </tr> </table> </div> <div class="modal-footer"> <button type="button" class="btn btn-primary" data-dismiss="modal">Done</button> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </div> </div> </div> '; return $output97; }; $output84 .= ''; $output84 .= ' '; return $output84; }
/** * Main Render function */ public function render(\TYPO3\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $self = $this; $output94 = ''; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments95 = array(); // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments96 = array(); $arguments96['name'] = 'Default'; $renderChildrenClosure97 = function () use($renderingContext, $self) { return NULL; }; $viewHelper98 = $self->getViewHelper('$viewHelper98', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\LayoutViewHelper'); $viewHelper98->setArguments($arguments96); $viewHelper98->setRenderingContext($renderingContext); $viewHelper98->setRenderChildrenClosure($renderChildrenClosure97); // End of ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments95['value'] = $viewHelper98->initializeArgumentsAndRender(); $arguments95['keepQuotes'] = false; $arguments95['encoding'] = 'UTF-8'; $arguments95['doubleEncode'] = true; $renderChildrenClosure99 = function () use($renderingContext, $self) { return NULL; }; $value100 = $arguments95['value'] !== NULL ? $arguments95['value'] : $renderChildrenClosure99(); $output94 .= !is_string($value100) && !(is_object($value100) && method_exists($value100, '__toString')) ? $value100 : htmlspecialchars($value100, $arguments95['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments95['encoding'], $arguments95['doubleEncode']); $output94 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments101 = array(); $arguments101['name'] = 'Title'; $renderChildrenClosure102 = function () use($renderingContext, $self) { $output103 = ''; $output103 .= 'Category "'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments104 = array(); $arguments104['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'category.title', $renderingContext); $arguments104['keepQuotes'] = false; $arguments104['encoding'] = 'UTF-8'; $arguments104['doubleEncode'] = true; $renderChildrenClosure105 = function () use($renderingContext, $self) { return NULL; }; $value106 = $arguments104['value'] !== NULL ? $arguments104['value'] : $renderChildrenClosure105(); $output103 .= !is_string($value106) && !(is_object($value106) && method_exists($value106, '__toString')) ? $value106 : htmlspecialchars($value106, $arguments104['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments104['encoding'], $arguments104['doubleEncode']); $output103 .= '"'; return $output103; }; $output94 .= ''; $output94 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments107 = array(); $arguments107['name'] = 'Navigation'; $renderChildrenClosure108 = function () use($renderingContext, $self) { $output109 = ''; $output109 .= ' <nav class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navigation" aria-expanded="false"> <span class="sr-only">Toggle Navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">MyBlog</a> </div> <div class="collapse navbar-collapse" id="navigation"> <ul class="nav navbar-nav"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments110 = array(); $arguments110['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'listCategories', $renderingContext); $arguments110['as'] = 'navCategory'; $arguments110['key'] = ''; $arguments110['reverse'] = false; $arguments110['iteration'] = NULL; $renderChildrenClosure111 = function () use($renderingContext, $self) { $output112 = ''; $output112 .= ' <li> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments113 = array(); $arguments113['action'] = 'show'; $arguments113['controller'] = 'category'; // Rendering Array $array114 = array(); $array114['category'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'navCategory', $renderingContext); $arguments113['arguments'] = $array114; $arguments113['additionalAttributes'] = NULL; $arguments113['data'] = NULL; $arguments113['package'] = NULL; $arguments113['subpackage'] = NULL; $arguments113['section'] = ''; $arguments113['format'] = ''; $arguments113['additionalParams'] = array(); $arguments113['addQueryString'] = false; $arguments113['argumentsToBeExcludedFromQueryString'] = array(); $arguments113['useParentRequest'] = false; $arguments113['absolute'] = true; $arguments113['class'] = NULL; $arguments113['dir'] = NULL; $arguments113['id'] = NULL; $arguments113['lang'] = NULL; $arguments113['style'] = NULL; $arguments113['title'] = NULL; $arguments113['accesskey'] = NULL; $arguments113['tabindex'] = NULL; $arguments113['onclick'] = NULL; $arguments113['name'] = NULL; $arguments113['rel'] = NULL; $arguments113['rev'] = NULL; $arguments113['target'] = NULL; $renderChildrenClosure115 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments116 = array(); $arguments116['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'navCategory.title', $renderingContext); $arguments116['keepQuotes'] = false; $arguments116['encoding'] = 'UTF-8'; $arguments116['doubleEncode'] = true; $renderChildrenClosure117 = function () use($renderingContext, $self) { return NULL; }; $value118 = $arguments116['value'] !== NULL ? $arguments116['value'] : $renderChildrenClosure117(); return !is_string($value118) && !(is_object($value118) && method_exists($value118, '__toString')) ? $value118 : htmlspecialchars($value118, $arguments116['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments116['encoding'], $arguments116['doubleEncode']); }; $viewHelper119 = $self->getViewHelper('$viewHelper119', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper119->setArguments($arguments113); $viewHelper119->setRenderingContext($renderingContext); $viewHelper119->setRenderChildrenClosure($renderChildrenClosure115); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output112 .= $viewHelper119->initializeArgumentsAndRender(); $output112 .= ' </li> '; return $output112; }; $output109 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments110, $renderChildrenClosure111, $renderingContext); $output109 .= ' </ul> </div> </div> </nav> '; return $output109; }; $output94 .= ''; $output94 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments120 = array(); $arguments120['name'] = 'Sidebar'; $renderChildrenClosure121 = function () use($renderingContext, $self) { $output122 = ''; $output122 .= ' <h3>Category: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments123 = array(); $arguments123['action'] = 'index'; $arguments123['controller'] = 'category'; $arguments123['additionalAttributes'] = NULL; $arguments123['data'] = NULL; $arguments123['arguments'] = array(); $arguments123['package'] = NULL; $arguments123['subpackage'] = NULL; $arguments123['section'] = ''; $arguments123['format'] = ''; $arguments123['additionalParams'] = array(); $arguments123['addQueryString'] = false; $arguments123['argumentsToBeExcludedFromQueryString'] = array(); $arguments123['useParentRequest'] = false; $arguments123['absolute'] = true; $arguments123['class'] = NULL; $arguments123['dir'] = NULL; $arguments123['id'] = NULL; $arguments123['lang'] = NULL; $arguments123['style'] = NULL; $arguments123['title'] = NULL; $arguments123['accesskey'] = NULL; $arguments123['tabindex'] = NULL; $arguments123['onclick'] = NULL; $arguments123['name'] = NULL; $arguments123['rel'] = NULL; $arguments123['rev'] = NULL; $arguments123['target'] = NULL; $renderChildrenClosure124 = function () use($renderingContext, $self) { return 'View Category'; }; $viewHelper125 = $self->getViewHelper('$viewHelper125', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper125->setArguments($arguments123); $viewHelper125->setRenderingContext($renderingContext); $viewHelper125->setRenderChildrenClosure($renderChildrenClosure124); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output122 .= $viewHelper125->initializeArgumentsAndRender(); $output122 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments126 = array(); $arguments126['action'] = 'new'; $arguments126['controller'] = 'category'; $arguments126['additionalAttributes'] = NULL; $arguments126['data'] = NULL; $arguments126['arguments'] = array(); $arguments126['package'] = NULL; $arguments126['subpackage'] = NULL; $arguments126['section'] = ''; $arguments126['format'] = ''; $arguments126['additionalParams'] = array(); $arguments126['addQueryString'] = false; $arguments126['argumentsToBeExcludedFromQueryString'] = array(); $arguments126['useParentRequest'] = false; $arguments126['absolute'] = true; $arguments126['class'] = NULL; $arguments126['dir'] = NULL; $arguments126['id'] = NULL; $arguments126['lang'] = NULL; $arguments126['style'] = NULL; $arguments126['title'] = NULL; $arguments126['accesskey'] = NULL; $arguments126['tabindex'] = NULL; $arguments126['onclick'] = NULL; $arguments126['name'] = NULL; $arguments126['rel'] = NULL; $arguments126['rev'] = NULL; $arguments126['target'] = NULL; $renderChildrenClosure127 = function () use($renderingContext, $self) { return 'Create a new category'; }; $viewHelper128 = $self->getViewHelper('$viewHelper128', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper128->setArguments($arguments126); $viewHelper128->setRenderingContext($renderingContext); $viewHelper128->setRenderChildrenClosure($renderChildrenClosure127); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output122 .= $viewHelper128->initializeArgumentsAndRender(); $output122 .= '</p> <h3>Post: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments129 = array(); $arguments129['action'] = 'index'; $arguments129['controller'] = 'post'; $arguments129['additionalAttributes'] = NULL; $arguments129['data'] = NULL; $arguments129['arguments'] = array(); $arguments129['package'] = NULL; $arguments129['subpackage'] = NULL; $arguments129['section'] = ''; $arguments129['format'] = ''; $arguments129['additionalParams'] = array(); $arguments129['addQueryString'] = false; $arguments129['argumentsToBeExcludedFromQueryString'] = array(); $arguments129['useParentRequest'] = false; $arguments129['absolute'] = true; $arguments129['class'] = NULL; $arguments129['dir'] = NULL; $arguments129['id'] = NULL; $arguments129['lang'] = NULL; $arguments129['style'] = NULL; $arguments129['title'] = NULL; $arguments129['accesskey'] = NULL; $arguments129['tabindex'] = NULL; $arguments129['onclick'] = NULL; $arguments129['name'] = NULL; $arguments129['rel'] = NULL; $arguments129['rev'] = NULL; $arguments129['target'] = NULL; $renderChildrenClosure130 = function () use($renderingContext, $self) { return 'View Post'; }; $viewHelper131 = $self->getViewHelper('$viewHelper131', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper131->setArguments($arguments129); $viewHelper131->setRenderingContext($renderingContext); $viewHelper131->setRenderChildrenClosure($renderChildrenClosure130); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output122 .= $viewHelper131->initializeArgumentsAndRender(); $output122 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments132 = array(); $arguments132['action'] = 'new'; $arguments132['controller'] = 'post'; $arguments132['additionalAttributes'] = NULL; $arguments132['data'] = NULL; $arguments132['arguments'] = array(); $arguments132['package'] = NULL; $arguments132['subpackage'] = NULL; $arguments132['section'] = ''; $arguments132['format'] = ''; $arguments132['additionalParams'] = array(); $arguments132['addQueryString'] = false; $arguments132['argumentsToBeExcludedFromQueryString'] = array(); $arguments132['useParentRequest'] = false; $arguments132['absolute'] = true; $arguments132['class'] = NULL; $arguments132['dir'] = NULL; $arguments132['id'] = NULL; $arguments132['lang'] = NULL; $arguments132['style'] = NULL; $arguments132['title'] = NULL; $arguments132['accesskey'] = NULL; $arguments132['tabindex'] = NULL; $arguments132['onclick'] = NULL; $arguments132['name'] = NULL; $arguments132['rel'] = NULL; $arguments132['rev'] = NULL; $arguments132['target'] = NULL; $renderChildrenClosure133 = function () use($renderingContext, $self) { return 'Create new post'; }; $viewHelper134 = $self->getViewHelper('$viewHelper134', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper134->setArguments($arguments132); $viewHelper134->setRenderingContext($renderingContext); $viewHelper134->setRenderChildrenClosure($renderChildrenClosure133); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output122 .= $viewHelper134->initializeArgumentsAndRender(); $output122 .= '</p> <h3>Author: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments135 = array(); $arguments135['action'] = 'index'; $arguments135['controller'] = 'author'; $arguments135['additionalAttributes'] = NULL; $arguments135['data'] = NULL; $arguments135['arguments'] = array(); $arguments135['package'] = NULL; $arguments135['subpackage'] = NULL; $arguments135['section'] = ''; $arguments135['format'] = ''; $arguments135['additionalParams'] = array(); $arguments135['addQueryString'] = false; $arguments135['argumentsToBeExcludedFromQueryString'] = array(); $arguments135['useParentRequest'] = false; $arguments135['absolute'] = true; $arguments135['class'] = NULL; $arguments135['dir'] = NULL; $arguments135['id'] = NULL; $arguments135['lang'] = NULL; $arguments135['style'] = NULL; $arguments135['title'] = NULL; $arguments135['accesskey'] = NULL; $arguments135['tabindex'] = NULL; $arguments135['onclick'] = NULL; $arguments135['name'] = NULL; $arguments135['rel'] = NULL; $arguments135['rev'] = NULL; $arguments135['target'] = NULL; $renderChildrenClosure136 = function () use($renderingContext, $self) { return 'View Author'; }; $viewHelper137 = $self->getViewHelper('$viewHelper137', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper137->setArguments($arguments135); $viewHelper137->setRenderingContext($renderingContext); $viewHelper137->setRenderChildrenClosure($renderChildrenClosure136); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output122 .= $viewHelper137->initializeArgumentsAndRender(); $output122 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments138 = array(); $arguments138['action'] = 'new'; $arguments138['controller'] = 'author'; $arguments138['additionalAttributes'] = NULL; $arguments138['data'] = NULL; $arguments138['arguments'] = array(); $arguments138['package'] = NULL; $arguments138['subpackage'] = NULL; $arguments138['section'] = ''; $arguments138['format'] = ''; $arguments138['additionalParams'] = array(); $arguments138['addQueryString'] = false; $arguments138['argumentsToBeExcludedFromQueryString'] = array(); $arguments138['useParentRequest'] = false; $arguments138['absolute'] = true; $arguments138['class'] = NULL; $arguments138['dir'] = NULL; $arguments138['id'] = NULL; $arguments138['lang'] = NULL; $arguments138['style'] = NULL; $arguments138['title'] = NULL; $arguments138['accesskey'] = NULL; $arguments138['tabindex'] = NULL; $arguments138['onclick'] = NULL; $arguments138['name'] = NULL; $arguments138['rel'] = NULL; $arguments138['rev'] = NULL; $arguments138['target'] = NULL; $renderChildrenClosure139 = function () use($renderingContext, $self) { return 'Create New Author'; }; $viewHelper140 = $self->getViewHelper('$viewHelper140', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper140->setArguments($arguments138); $viewHelper140->setRenderingContext($renderingContext); $viewHelper140->setRenderChildrenClosure($renderChildrenClosure139); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output122 .= $viewHelper140->initializeArgumentsAndRender(); $output122 .= '</p> '; return $output122; }; $output94 .= ''; $output94 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments141 = array(); $arguments141['name'] = 'Content'; $renderChildrenClosure142 = function () use($renderingContext, $self) { $output143 = ''; $output143 .= ' <table class="table"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\IfViewHelper $arguments144 = array(); // Rendering Boolean node $arguments144['condition'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(\TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'category.posts', $renderingContext)); $arguments144['then'] = NULL; $arguments144['else'] = NULL; $renderChildrenClosure145 = function () use($renderingContext, $self) { $output146 = ''; $output146 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ThenViewHelper $arguments147 = array(); $renderChildrenClosure148 = function () use($renderingContext, $self) { $output149 = ''; $output149 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments150 = array(); $arguments150['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'category.posts', $renderingContext); $arguments150['as'] = 'post'; $arguments150['key'] = ''; $arguments150['reverse'] = false; $arguments150['iteration'] = NULL; $renderChildrenClosure151 = function () use($renderingContext, $self) { $output152 = ''; $output152 .= ' <tr> <td>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments153 = array(); $arguments153['action'] = 'show'; $arguments153['controller'] = 'post'; // Rendering Array $array154 = array(); $array154['post'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'post', $renderingContext); $arguments153['arguments'] = $array154; $arguments153['additionalAttributes'] = NULL; $arguments153['data'] = NULL; $arguments153['package'] = NULL; $arguments153['subpackage'] = NULL; $arguments153['section'] = ''; $arguments153['format'] = ''; $arguments153['additionalParams'] = array(); $arguments153['addQueryString'] = false; $arguments153['argumentsToBeExcludedFromQueryString'] = array(); $arguments153['useParentRequest'] = false; $arguments153['absolute'] = true; $arguments153['class'] = NULL; $arguments153['dir'] = NULL; $arguments153['id'] = NULL; $arguments153['lang'] = NULL; $arguments153['style'] = NULL; $arguments153['title'] = NULL; $arguments153['accesskey'] = NULL; $arguments153['tabindex'] = NULL; $arguments153['onclick'] = NULL; $arguments153['name'] = NULL; $arguments153['rel'] = NULL; $arguments153['rev'] = NULL; $arguments153['target'] = NULL; $renderChildrenClosure155 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments156 = array(); $arguments156['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'post.name', $renderingContext); $arguments156['keepQuotes'] = false; $arguments156['encoding'] = 'UTF-8'; $arguments156['doubleEncode'] = true; $renderChildrenClosure157 = function () use($renderingContext, $self) { return NULL; }; $value158 = $arguments156['value'] !== NULL ? $arguments156['value'] : $renderChildrenClosure157(); return !is_string($value158) && !(is_object($value158) && method_exists($value158, '__toString')) ? $value158 : htmlspecialchars($value158, $arguments156['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments156['encoding'], $arguments156['doubleEncode']); }; $viewHelper159 = $self->getViewHelper('$viewHelper159', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper159->setArguments($arguments153); $viewHelper159->setRenderingContext($renderingContext); $viewHelper159->setRenderChildrenClosure($renderChildrenClosure155); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output152 .= $viewHelper159->initializeArgumentsAndRender(); $output152 .= '</td> <td>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments160 = array(); $arguments160['action'] = 'edit'; $arguments160['controller'] = 'post'; // Rendering Array $array161 = array(); $array161['post'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'post', $renderingContext); $arguments160['arguments'] = $array161; $arguments160['class'] = 'btn btn-primary'; $arguments160['additionalAttributes'] = NULL; $arguments160['data'] = NULL; $arguments160['package'] = NULL; $arguments160['subpackage'] = NULL; $arguments160['section'] = ''; $arguments160['format'] = ''; $arguments160['additionalParams'] = array(); $arguments160['addQueryString'] = false; $arguments160['argumentsToBeExcludedFromQueryString'] = array(); $arguments160['useParentRequest'] = false; $arguments160['absolute'] = true; $arguments160['dir'] = NULL; $arguments160['id'] = NULL; $arguments160['lang'] = NULL; $arguments160['style'] = NULL; $arguments160['title'] = NULL; $arguments160['accesskey'] = NULL; $arguments160['tabindex'] = NULL; $arguments160['onclick'] = NULL; $arguments160['name'] = NULL; $arguments160['rel'] = NULL; $arguments160['rev'] = NULL; $arguments160['target'] = NULL; $renderChildrenClosure162 = function () use($renderingContext, $self) { return 'Edit'; }; $viewHelper163 = $self->getViewHelper('$viewHelper163', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper163->setArguments($arguments160); $viewHelper163->setRenderingContext($renderingContext); $viewHelper163->setRenderChildrenClosure($renderChildrenClosure162); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output152 .= $viewHelper163->initializeArgumentsAndRender(); $output152 .= '</td> <td> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $arguments164 = array(); $arguments164['action'] = 'delete'; // Rendering Array $array165 = array(); $array165['post'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'post', $renderingContext); $arguments164['arguments'] = $array165; $arguments164['additionalAttributes'] = NULL; $arguments164['data'] = NULL; $arguments164['controller'] = NULL; $arguments164['package'] = NULL; $arguments164['subpackage'] = NULL; $arguments164['object'] = NULL; $arguments164['section'] = ''; $arguments164['format'] = ''; $arguments164['additionalParams'] = array(); $arguments164['absolute'] = false; $arguments164['addQueryString'] = false; $arguments164['argumentsToBeExcludedFromQueryString'] = array(); $arguments164['fieldNamePrefix'] = NULL; $arguments164['actionUri'] = NULL; $arguments164['objectName'] = NULL; $arguments164['useParentRequest'] = false; $arguments164['enctype'] = NULL; $arguments164['method'] = NULL; $arguments164['name'] = NULL; $arguments164['onreset'] = NULL; $arguments164['onsubmit'] = NULL; $arguments164['class'] = NULL; $arguments164['dir'] = NULL; $arguments164['id'] = NULL; $arguments164['lang'] = NULL; $arguments164['style'] = NULL; $arguments164['title'] = NULL; $arguments164['accesskey'] = NULL; $arguments164['tabindex'] = NULL; $arguments164['onclick'] = NULL; $renderChildrenClosure166 = function () use($renderingContext, $self) { $output167 = ''; $output167 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $arguments168 = array(); $arguments168['class'] = 'btn btn-danger'; $arguments168['value'] = 'Delete'; $arguments168['additionalAttributes'] = NULL; $arguments168['data'] = NULL; $arguments168['name'] = NULL; $arguments168['property'] = NULL; $arguments168['disabled'] = NULL; $arguments168['dir'] = NULL; $arguments168['id'] = NULL; $arguments168['lang'] = NULL; $arguments168['style'] = NULL; $arguments168['title'] = NULL; $arguments168['accesskey'] = NULL; $arguments168['tabindex'] = NULL; $arguments168['onclick'] = NULL; $renderChildrenClosure169 = function () use($renderingContext, $self) { return NULL; }; $viewHelper170 = $self->getViewHelper('$viewHelper170', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\SubmitViewHelper'); $viewHelper170->setArguments($arguments168); $viewHelper170->setRenderingContext($renderingContext); $viewHelper170->setRenderChildrenClosure($renderChildrenClosure169); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $output167 .= $viewHelper170->initializeArgumentsAndRender(); $output167 .= ' '; return $output167; }; $viewHelper171 = $self->getViewHelper('$viewHelper171', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\FormViewHelper'); $viewHelper171->setArguments($arguments164); $viewHelper171->setRenderingContext($renderingContext); $viewHelper171->setRenderChildrenClosure($renderChildrenClosure166); // End of ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $output152 .= $viewHelper171->initializeArgumentsAndRender(); $output152 .= ' </td> </tr> '; return $output152; }; $output149 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments150, $renderChildrenClosure151, $renderingContext); $output149 .= ' '; return $output149; }; $viewHelper172 = $self->getViewHelper('$viewHelper172', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\ThenViewHelper'); $viewHelper172->setArguments($arguments147); $viewHelper172->setRenderingContext($renderingContext); $viewHelper172->setRenderChildrenClosure($renderChildrenClosure148); // End of ViewHelper TYPO3\Fluid\ViewHelpers\ThenViewHelper $output146 .= $viewHelper172->initializeArgumentsAndRender(); $output146 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ElseViewHelper $arguments173 = array(); $renderChildrenClosure174 = function () use($renderingContext, $self) { return ' <div class="alert alert-success"> <strong>Note!</strong> There is no any post for this category. </div> '; }; $viewHelper175 = $self->getViewHelper('$viewHelper175', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\ElseViewHelper'); $viewHelper175->setArguments($arguments173); $viewHelper175->setRenderingContext($renderingContext); $viewHelper175->setRenderChildrenClosure($renderChildrenClosure174); // End of ViewHelper TYPO3\Fluid\ViewHelpers\ElseViewHelper $output146 .= $viewHelper175->initializeArgumentsAndRender(); $output146 .= ' '; return $output146; }; $arguments144['__thenClosure'] = function () use($renderingContext, $self) { $output176 = ''; $output176 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments177 = array(); $arguments177['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'category.posts', $renderingContext); $arguments177['as'] = 'post'; $arguments177['key'] = ''; $arguments177['reverse'] = false; $arguments177['iteration'] = NULL; $renderChildrenClosure178 = function () use($renderingContext, $self) { $output179 = ''; $output179 .= ' <tr> <td>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments180 = array(); $arguments180['action'] = 'show'; $arguments180['controller'] = 'post'; // Rendering Array $array181 = array(); $array181['post'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'post', $renderingContext); $arguments180['arguments'] = $array181; $arguments180['additionalAttributes'] = NULL; $arguments180['data'] = NULL; $arguments180['package'] = NULL; $arguments180['subpackage'] = NULL; $arguments180['section'] = ''; $arguments180['format'] = ''; $arguments180['additionalParams'] = array(); $arguments180['addQueryString'] = false; $arguments180['argumentsToBeExcludedFromQueryString'] = array(); $arguments180['useParentRequest'] = false; $arguments180['absolute'] = true; $arguments180['class'] = NULL; $arguments180['dir'] = NULL; $arguments180['id'] = NULL; $arguments180['lang'] = NULL; $arguments180['style'] = NULL; $arguments180['title'] = NULL; $arguments180['accesskey'] = NULL; $arguments180['tabindex'] = NULL; $arguments180['onclick'] = NULL; $arguments180['name'] = NULL; $arguments180['rel'] = NULL; $arguments180['rev'] = NULL; $arguments180['target'] = NULL; $renderChildrenClosure182 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments183 = array(); $arguments183['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'post.name', $renderingContext); $arguments183['keepQuotes'] = false; $arguments183['encoding'] = 'UTF-8'; $arguments183['doubleEncode'] = true; $renderChildrenClosure184 = function () use($renderingContext, $self) { return NULL; }; $value185 = $arguments183['value'] !== NULL ? $arguments183['value'] : $renderChildrenClosure184(); return !is_string($value185) && !(is_object($value185) && method_exists($value185, '__toString')) ? $value185 : htmlspecialchars($value185, $arguments183['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments183['encoding'], $arguments183['doubleEncode']); }; $viewHelper186 = $self->getViewHelper('$viewHelper186', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper186->setArguments($arguments180); $viewHelper186->setRenderingContext($renderingContext); $viewHelper186->setRenderChildrenClosure($renderChildrenClosure182); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output179 .= $viewHelper186->initializeArgumentsAndRender(); $output179 .= '</td> <td>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments187 = array(); $arguments187['action'] = 'edit'; $arguments187['controller'] = 'post'; // Rendering Array $array188 = array(); $array188['post'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'post', $renderingContext); $arguments187['arguments'] = $array188; $arguments187['class'] = 'btn btn-primary'; $arguments187['additionalAttributes'] = NULL; $arguments187['data'] = NULL; $arguments187['package'] = NULL; $arguments187['subpackage'] = NULL; $arguments187['section'] = ''; $arguments187['format'] = ''; $arguments187['additionalParams'] = array(); $arguments187['addQueryString'] = false; $arguments187['argumentsToBeExcludedFromQueryString'] = array(); $arguments187['useParentRequest'] = false; $arguments187['absolute'] = true; $arguments187['dir'] = NULL; $arguments187['id'] = NULL; $arguments187['lang'] = NULL; $arguments187['style'] = NULL; $arguments187['title'] = NULL; $arguments187['accesskey'] = NULL; $arguments187['tabindex'] = NULL; $arguments187['onclick'] = NULL; $arguments187['name'] = NULL; $arguments187['rel'] = NULL; $arguments187['rev'] = NULL; $arguments187['target'] = NULL; $renderChildrenClosure189 = function () use($renderingContext, $self) { return 'Edit'; }; $viewHelper190 = $self->getViewHelper('$viewHelper190', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper190->setArguments($arguments187); $viewHelper190->setRenderingContext($renderingContext); $viewHelper190->setRenderChildrenClosure($renderChildrenClosure189); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output179 .= $viewHelper190->initializeArgumentsAndRender(); $output179 .= '</td> <td> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $arguments191 = array(); $arguments191['action'] = 'delete'; // Rendering Array $array192 = array(); $array192['post'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'post', $renderingContext); $arguments191['arguments'] = $array192; $arguments191['additionalAttributes'] = NULL; $arguments191['data'] = NULL; $arguments191['controller'] = NULL; $arguments191['package'] = NULL; $arguments191['subpackage'] = NULL; $arguments191['object'] = NULL; $arguments191['section'] = ''; $arguments191['format'] = ''; $arguments191['additionalParams'] = array(); $arguments191['absolute'] = false; $arguments191['addQueryString'] = false; $arguments191['argumentsToBeExcludedFromQueryString'] = array(); $arguments191['fieldNamePrefix'] = NULL; $arguments191['actionUri'] = NULL; $arguments191['objectName'] = NULL; $arguments191['useParentRequest'] = false; $arguments191['enctype'] = NULL; $arguments191['method'] = NULL; $arguments191['name'] = NULL; $arguments191['onreset'] = NULL; $arguments191['onsubmit'] = NULL; $arguments191['class'] = NULL; $arguments191['dir'] = NULL; $arguments191['id'] = NULL; $arguments191['lang'] = NULL; $arguments191['style'] = NULL; $arguments191['title'] = NULL; $arguments191['accesskey'] = NULL; $arguments191['tabindex'] = NULL; $arguments191['onclick'] = NULL; $renderChildrenClosure193 = function () use($renderingContext, $self) { $output194 = ''; $output194 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $arguments195 = array(); $arguments195['class'] = 'btn btn-danger'; $arguments195['value'] = 'Delete'; $arguments195['additionalAttributes'] = NULL; $arguments195['data'] = NULL; $arguments195['name'] = NULL; $arguments195['property'] = NULL; $arguments195['disabled'] = NULL; $arguments195['dir'] = NULL; $arguments195['id'] = NULL; $arguments195['lang'] = NULL; $arguments195['style'] = NULL; $arguments195['title'] = NULL; $arguments195['accesskey'] = NULL; $arguments195['tabindex'] = NULL; $arguments195['onclick'] = NULL; $renderChildrenClosure196 = function () use($renderingContext, $self) { return NULL; }; $viewHelper197 = $self->getViewHelper('$viewHelper197', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\SubmitViewHelper'); $viewHelper197->setArguments($arguments195); $viewHelper197->setRenderingContext($renderingContext); $viewHelper197->setRenderChildrenClosure($renderChildrenClosure196); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $output194 .= $viewHelper197->initializeArgumentsAndRender(); $output194 .= ' '; return $output194; }; $viewHelper198 = $self->getViewHelper('$viewHelper198', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\FormViewHelper'); $viewHelper198->setArguments($arguments191); $viewHelper198->setRenderingContext($renderingContext); $viewHelper198->setRenderChildrenClosure($renderChildrenClosure193); // End of ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $output179 .= $viewHelper198->initializeArgumentsAndRender(); $output179 .= ' </td> </tr> '; return $output179; }; $output176 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments177, $renderChildrenClosure178, $renderingContext); $output176 .= ' '; return $output176; }; $arguments144['__elseClosure'] = function () use($renderingContext, $self) { return ' <div class="alert alert-success"> <strong>Note!</strong> There is no any post for this category. </div> '; }; $viewHelper199 = $self->getViewHelper('$viewHelper199', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\IfViewHelper'); $viewHelper199->setArguments($arguments144); $viewHelper199->setRenderingContext($renderingContext); $viewHelper199->setRenderChildrenClosure($renderChildrenClosure145); // End of ViewHelper TYPO3\Fluid\ViewHelpers\IfViewHelper $output143 .= $viewHelper199->initializeArgumentsAndRender(); $output143 .= ' </table> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments200 = array(); $arguments200['action'] = 'index'; $arguments200['additionalAttributes'] = NULL; $arguments200['data'] = NULL; $arguments200['arguments'] = array(); $arguments200['controller'] = NULL; $arguments200['package'] = NULL; $arguments200['subpackage'] = NULL; $arguments200['section'] = ''; $arguments200['format'] = ''; $arguments200['additionalParams'] = array(); $arguments200['addQueryString'] = false; $arguments200['argumentsToBeExcludedFromQueryString'] = array(); $arguments200['useParentRequest'] = false; $arguments200['absolute'] = true; $arguments200['class'] = NULL; $arguments200['dir'] = NULL; $arguments200['id'] = NULL; $arguments200['lang'] = NULL; $arguments200['style'] = NULL; $arguments200['title'] = NULL; $arguments200['accesskey'] = NULL; $arguments200['tabindex'] = NULL; $arguments200['onclick'] = NULL; $arguments200['name'] = NULL; $arguments200['rel'] = NULL; $arguments200['rev'] = NULL; $arguments200['target'] = NULL; $renderChildrenClosure201 = function () use($renderingContext, $self) { return 'Back'; }; $viewHelper202 = $self->getViewHelper('$viewHelper202', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper202->setArguments($arguments200); $viewHelper202->setRenderingContext($renderingContext); $viewHelper202->setRenderChildrenClosure($renderChildrenClosure201); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output143 .= $viewHelper202->initializeArgumentsAndRender(); $output143 .= ' '; return $output143; }; $output94 .= ''; $output94 .= ' '; return $output94; }
/** * Main Render function */ public function render(\TYPO3\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $self = $this; $output44 = ''; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments45 = array(); // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments46 = array(); $arguments46['name'] = 'Default'; $renderChildrenClosure47 = function () use($renderingContext, $self) { return NULL; }; $viewHelper48 = $self->getViewHelper('$viewHelper48', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\LayoutViewHelper'); $viewHelper48->setArguments($arguments46); $viewHelper48->setRenderingContext($renderingContext); $viewHelper48->setRenderChildrenClosure($renderChildrenClosure47); // End of ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments45['value'] = $viewHelper48->initializeArgumentsAndRender(); $arguments45['keepQuotes'] = false; $arguments45['encoding'] = 'UTF-8'; $arguments45['doubleEncode'] = true; $renderChildrenClosure49 = function () use($renderingContext, $self) { return NULL; }; $value50 = $arguments45['value'] !== NULL ? $arguments45['value'] : $renderChildrenClosure49(); $output44 .= !is_string($value50) && !(is_object($value50) && method_exists($value50, '__toString')) ? $value50 : htmlspecialchars($value50, $arguments45['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments45['encoding'], $arguments45['doubleEncode']); $output44 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments51 = array(); $arguments51['name'] = 'Navigation'; $renderChildrenClosure52 = function () use($renderingContext, $self) { $output53 = ''; $output53 .= ' <nav class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navigation" aria-expanded="false"> <span class="sr-only">Toggle Navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">MyBlog</a> </div> <div class="collapse navbar-collapse" id="navigation"> <ul class="nav navbar-nav"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments54 = array(); $arguments54['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'listCategories', $renderingContext); $arguments54['as'] = 'navCategory'; $arguments54['key'] = ''; $arguments54['reverse'] = false; $arguments54['iteration'] = NULL; $renderChildrenClosure55 = function () use($renderingContext, $self) { $output56 = ''; $output56 .= ' <li> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments57 = array(); $arguments57['action'] = 'show'; $arguments57['controller'] = 'category'; // Rendering Array $array58 = array(); $array58['category'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'navCategory', $renderingContext); $arguments57['arguments'] = $array58; $arguments57['additionalAttributes'] = NULL; $arguments57['data'] = NULL; $arguments57['package'] = NULL; $arguments57['subpackage'] = NULL; $arguments57['section'] = ''; $arguments57['format'] = ''; $arguments57['additionalParams'] = array(); $arguments57['addQueryString'] = false; $arguments57['argumentsToBeExcludedFromQueryString'] = array(); $arguments57['useParentRequest'] = false; $arguments57['absolute'] = true; $arguments57['class'] = NULL; $arguments57['dir'] = NULL; $arguments57['id'] = NULL; $arguments57['lang'] = NULL; $arguments57['style'] = NULL; $arguments57['title'] = NULL; $arguments57['accesskey'] = NULL; $arguments57['tabindex'] = NULL; $arguments57['onclick'] = NULL; $arguments57['name'] = NULL; $arguments57['rel'] = NULL; $arguments57['rev'] = NULL; $arguments57['target'] = NULL; $renderChildrenClosure59 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments60 = array(); $arguments60['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'navCategory.title', $renderingContext); $arguments60['keepQuotes'] = false; $arguments60['encoding'] = 'UTF-8'; $arguments60['doubleEncode'] = true; $renderChildrenClosure61 = function () use($renderingContext, $self) { return NULL; }; $value62 = $arguments60['value'] !== NULL ? $arguments60['value'] : $renderChildrenClosure61(); return !is_string($value62) && !(is_object($value62) && method_exists($value62, '__toString')) ? $value62 : htmlspecialchars($value62, $arguments60['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments60['encoding'], $arguments60['doubleEncode']); }; $viewHelper63 = $self->getViewHelper('$viewHelper63', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper63->setArguments($arguments57); $viewHelper63->setRenderingContext($renderingContext); $viewHelper63->setRenderChildrenClosure($renderChildrenClosure59); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output56 .= $viewHelper63->initializeArgumentsAndRender(); $output56 .= ' </li> '; return $output56; }; $output53 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments54, $renderChildrenClosure55, $renderingContext); $output53 .= ' <li>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments64 = array(); $arguments64['action'] = 'index'; $arguments64['controller'] = 'User'; $arguments64['additionalAttributes'] = NULL; $arguments64['data'] = NULL; $arguments64['arguments'] = array(); $arguments64['package'] = NULL; $arguments64['subpackage'] = NULL; $arguments64['section'] = ''; $arguments64['format'] = ''; $arguments64['additionalParams'] = array(); $arguments64['addQueryString'] = false; $arguments64['argumentsToBeExcludedFromQueryString'] = array(); $arguments64['useParentRequest'] = false; $arguments64['absolute'] = true; $arguments64['class'] = NULL; $arguments64['dir'] = NULL; $arguments64['id'] = NULL; $arguments64['lang'] = NULL; $arguments64['style'] = NULL; $arguments64['title'] = NULL; $arguments64['accesskey'] = NULL; $arguments64['tabindex'] = NULL; $arguments64['onclick'] = NULL; $arguments64['name'] = NULL; $arguments64['rel'] = NULL; $arguments64['rev'] = NULL; $arguments64['target'] = NULL; $renderChildrenClosure65 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments66 = array(); $arguments66['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'usrname', $renderingContext); $arguments66['keepQuotes'] = false; $arguments66['encoding'] = 'UTF-8'; $arguments66['doubleEncode'] = true; $renderChildrenClosure67 = function () use($renderingContext, $self) { return NULL; }; $value68 = $arguments66['value'] !== NULL ? $arguments66['value'] : $renderChildrenClosure67(); return !is_string($value68) && !(is_object($value68) && method_exists($value68, '__toString')) ? $value68 : htmlspecialchars($value68, $arguments66['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments66['encoding'], $arguments66['doubleEncode']); }; $viewHelper69 = $self->getViewHelper('$viewHelper69', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper69->setArguments($arguments64); $viewHelper69->setRenderingContext($renderingContext); $viewHelper69->setRenderChildrenClosure($renderChildrenClosure65); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output53 .= $viewHelper69->initializeArgumentsAndRender(); $output53 .= '</li> </ul> </div> </div> </nav> '; return $output53; }; $output44 .= ''; $output44 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments70 = array(); $arguments70['name'] = 'Sidebar'; $renderChildrenClosure71 = function () use($renderingContext, $self) { $output72 = ''; $output72 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments73 = array(); $arguments73['action'] = 'logout'; $arguments73['controller'] = 'Login'; $arguments73['additionalAttributes'] = NULL; $arguments73['data'] = NULL; $arguments73['arguments'] = array(); $arguments73['package'] = NULL; $arguments73['subpackage'] = NULL; $arguments73['section'] = ''; $arguments73['format'] = ''; $arguments73['additionalParams'] = array(); $arguments73['addQueryString'] = false; $arguments73['argumentsToBeExcludedFromQueryString'] = array(); $arguments73['useParentRequest'] = false; $arguments73['absolute'] = true; $arguments73['class'] = NULL; $arguments73['dir'] = NULL; $arguments73['id'] = NULL; $arguments73['lang'] = NULL; $arguments73['style'] = NULL; $arguments73['title'] = NULL; $arguments73['accesskey'] = NULL; $arguments73['tabindex'] = NULL; $arguments73['onclick'] = NULL; $arguments73['name'] = NULL; $arguments73['rel'] = NULL; $arguments73['rev'] = NULL; $arguments73['target'] = NULL; $renderChildrenClosure74 = function () use($renderingContext, $self) { return 'Logout'; }; $viewHelper75 = $self->getViewHelper('$viewHelper75', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper75->setArguments($arguments73); $viewHelper75->setRenderingContext($renderingContext); $viewHelper75->setRenderChildrenClosure($renderChildrenClosure74); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output72 .= $viewHelper75->initializeArgumentsAndRender(); $output72 .= ' <h3>Category: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments76 = array(); $arguments76['action'] = 'index'; $arguments76['controller'] = 'category'; $arguments76['additionalAttributes'] = NULL; $arguments76['data'] = NULL; $arguments76['arguments'] = array(); $arguments76['package'] = NULL; $arguments76['subpackage'] = NULL; $arguments76['section'] = ''; $arguments76['format'] = ''; $arguments76['additionalParams'] = array(); $arguments76['addQueryString'] = false; $arguments76['argumentsToBeExcludedFromQueryString'] = array(); $arguments76['useParentRequest'] = false; $arguments76['absolute'] = true; $arguments76['class'] = NULL; $arguments76['dir'] = NULL; $arguments76['id'] = NULL; $arguments76['lang'] = NULL; $arguments76['style'] = NULL; $arguments76['title'] = NULL; $arguments76['accesskey'] = NULL; $arguments76['tabindex'] = NULL; $arguments76['onclick'] = NULL; $arguments76['name'] = NULL; $arguments76['rel'] = NULL; $arguments76['rev'] = NULL; $arguments76['target'] = NULL; $renderChildrenClosure77 = function () use($renderingContext, $self) { return 'View Category'; }; $viewHelper78 = $self->getViewHelper('$viewHelper78', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper78->setArguments($arguments76); $viewHelper78->setRenderingContext($renderingContext); $viewHelper78->setRenderChildrenClosure($renderChildrenClosure77); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output72 .= $viewHelper78->initializeArgumentsAndRender(); $output72 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments79 = array(); $arguments79['action'] = 'new'; $arguments79['controller'] = 'category'; $arguments79['additionalAttributes'] = NULL; $arguments79['data'] = NULL; $arguments79['arguments'] = array(); $arguments79['package'] = NULL; $arguments79['subpackage'] = NULL; $arguments79['section'] = ''; $arguments79['format'] = ''; $arguments79['additionalParams'] = array(); $arguments79['addQueryString'] = false; $arguments79['argumentsToBeExcludedFromQueryString'] = array(); $arguments79['useParentRequest'] = false; $arguments79['absolute'] = true; $arguments79['class'] = NULL; $arguments79['dir'] = NULL; $arguments79['id'] = NULL; $arguments79['lang'] = NULL; $arguments79['style'] = NULL; $arguments79['title'] = NULL; $arguments79['accesskey'] = NULL; $arguments79['tabindex'] = NULL; $arguments79['onclick'] = NULL; $arguments79['name'] = NULL; $arguments79['rel'] = NULL; $arguments79['rev'] = NULL; $arguments79['target'] = NULL; $renderChildrenClosure80 = function () use($renderingContext, $self) { return 'Create a new category'; }; $viewHelper81 = $self->getViewHelper('$viewHelper81', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper81->setArguments($arguments79); $viewHelper81->setRenderingContext($renderingContext); $viewHelper81->setRenderChildrenClosure($renderChildrenClosure80); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output72 .= $viewHelper81->initializeArgumentsAndRender(); $output72 .= '</p> <h3>Post: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments82 = array(); $arguments82['action'] = 'index'; $arguments82['controller'] = 'post'; $arguments82['additionalAttributes'] = NULL; $arguments82['data'] = NULL; $arguments82['arguments'] = array(); $arguments82['package'] = NULL; $arguments82['subpackage'] = NULL; $arguments82['section'] = ''; $arguments82['format'] = ''; $arguments82['additionalParams'] = array(); $arguments82['addQueryString'] = false; $arguments82['argumentsToBeExcludedFromQueryString'] = array(); $arguments82['useParentRequest'] = false; $arguments82['absolute'] = true; $arguments82['class'] = NULL; $arguments82['dir'] = NULL; $arguments82['id'] = NULL; $arguments82['lang'] = NULL; $arguments82['style'] = NULL; $arguments82['title'] = NULL; $arguments82['accesskey'] = NULL; $arguments82['tabindex'] = NULL; $arguments82['onclick'] = NULL; $arguments82['name'] = NULL; $arguments82['rel'] = NULL; $arguments82['rev'] = NULL; $arguments82['target'] = NULL; $renderChildrenClosure83 = function () use($renderingContext, $self) { return 'View Post'; }; $viewHelper84 = $self->getViewHelper('$viewHelper84', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper84->setArguments($arguments82); $viewHelper84->setRenderingContext($renderingContext); $viewHelper84->setRenderChildrenClosure($renderChildrenClosure83); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output72 .= $viewHelper84->initializeArgumentsAndRender(); $output72 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments85 = array(); $arguments85['action'] = 'new'; $arguments85['controller'] = 'post'; $arguments85['additionalAttributes'] = NULL; $arguments85['data'] = NULL; $arguments85['arguments'] = array(); $arguments85['package'] = NULL; $arguments85['subpackage'] = NULL; $arguments85['section'] = ''; $arguments85['format'] = ''; $arguments85['additionalParams'] = array(); $arguments85['addQueryString'] = false; $arguments85['argumentsToBeExcludedFromQueryString'] = array(); $arguments85['useParentRequest'] = false; $arguments85['absolute'] = true; $arguments85['class'] = NULL; $arguments85['dir'] = NULL; $arguments85['id'] = NULL; $arguments85['lang'] = NULL; $arguments85['style'] = NULL; $arguments85['title'] = NULL; $arguments85['accesskey'] = NULL; $arguments85['tabindex'] = NULL; $arguments85['onclick'] = NULL; $arguments85['name'] = NULL; $arguments85['rel'] = NULL; $arguments85['rev'] = NULL; $arguments85['target'] = NULL; $renderChildrenClosure86 = function () use($renderingContext, $self) { return 'Create new post'; }; $viewHelper87 = $self->getViewHelper('$viewHelper87', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper87->setArguments($arguments85); $viewHelper87->setRenderingContext($renderingContext); $viewHelper87->setRenderChildrenClosure($renderChildrenClosure86); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output72 .= $viewHelper87->initializeArgumentsAndRender(); $output72 .= '</p> <h3>Author: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments88 = array(); $arguments88['action'] = 'index'; $arguments88['controller'] = 'author'; $arguments88['additionalAttributes'] = NULL; $arguments88['data'] = NULL; $arguments88['arguments'] = array(); $arguments88['package'] = NULL; $arguments88['subpackage'] = NULL; $arguments88['section'] = ''; $arguments88['format'] = ''; $arguments88['additionalParams'] = array(); $arguments88['addQueryString'] = false; $arguments88['argumentsToBeExcludedFromQueryString'] = array(); $arguments88['useParentRequest'] = false; $arguments88['absolute'] = true; $arguments88['class'] = NULL; $arguments88['dir'] = NULL; $arguments88['id'] = NULL; $arguments88['lang'] = NULL; $arguments88['style'] = NULL; $arguments88['title'] = NULL; $arguments88['accesskey'] = NULL; $arguments88['tabindex'] = NULL; $arguments88['onclick'] = NULL; $arguments88['name'] = NULL; $arguments88['rel'] = NULL; $arguments88['rev'] = NULL; $arguments88['target'] = NULL; $renderChildrenClosure89 = function () use($renderingContext, $self) { return 'View Author'; }; $viewHelper90 = $self->getViewHelper('$viewHelper90', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper90->setArguments($arguments88); $viewHelper90->setRenderingContext($renderingContext); $viewHelper90->setRenderChildrenClosure($renderChildrenClosure89); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output72 .= $viewHelper90->initializeArgumentsAndRender(); $output72 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments91 = array(); $arguments91['action'] = 'new'; $arguments91['controller'] = 'author'; $arguments91['additionalAttributes'] = NULL; $arguments91['data'] = NULL; $arguments91['arguments'] = array(); $arguments91['package'] = NULL; $arguments91['subpackage'] = NULL; $arguments91['section'] = ''; $arguments91['format'] = ''; $arguments91['additionalParams'] = array(); $arguments91['addQueryString'] = false; $arguments91['argumentsToBeExcludedFromQueryString'] = array(); $arguments91['useParentRequest'] = false; $arguments91['absolute'] = true; $arguments91['class'] = NULL; $arguments91['dir'] = NULL; $arguments91['id'] = NULL; $arguments91['lang'] = NULL; $arguments91['style'] = NULL; $arguments91['title'] = NULL; $arguments91['accesskey'] = NULL; $arguments91['tabindex'] = NULL; $arguments91['onclick'] = NULL; $arguments91['name'] = NULL; $arguments91['rel'] = NULL; $arguments91['rev'] = NULL; $arguments91['target'] = NULL; $renderChildrenClosure92 = function () use($renderingContext, $self) { return 'Create New Author'; }; $viewHelper93 = $self->getViewHelper('$viewHelper93', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper93->setArguments($arguments91); $viewHelper93->setRenderingContext($renderingContext); $viewHelper93->setRenderChildrenClosure($renderChildrenClosure92); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output72 .= $viewHelper93->initializeArgumentsAndRender(); $output72 .= '</p> '; return $output72; }; $output44 .= ''; $output44 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments94 = array(); $arguments94['name'] = 'Content'; $renderChildrenClosure95 = function () use($renderingContext, $self) { $output96 = ''; $output96 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments97 = array(); $arguments97['name'] = 'Title'; $renderChildrenClosure98 = function () use($renderingContext, $self) { return 'Welcome to MyBlog'; }; $output96 .= ''; $output96 .= ' <div class="jumbotron"> <h1>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments99 = array(); $arguments99['name'] = 'Title'; $renderChildrenClosure100 = function () use($renderingContext, $self) { return 'Welcome to MyBlog'; }; $output96 .= ''; $output96 .= '</h1> <p>Our website provide the user to create their own blog on the internet with a specific category and author. The user can create their own account and start playing around. User can first create the category for the blog and then start making new post according to category. Users can assign the post belong to any author or category as they want.</p> </div> '; return $output96; }; $output44 .= ''; $output44 .= ' '; return $output44; }
/** * Main Render function */ public function render(\TYPO3\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $self = $this; $output89 = ''; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments90 = array(); // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments91 = array(); $arguments91['name'] = 'Default'; $renderChildrenClosure92 = function () use($renderingContext, $self) { return NULL; }; $viewHelper93 = $self->getViewHelper('$viewHelper93', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\LayoutViewHelper'); $viewHelper93->setArguments($arguments91); $viewHelper93->setRenderingContext($renderingContext); $viewHelper93->setRenderChildrenClosure($renderChildrenClosure92); // End of ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments90['value'] = $viewHelper93->initializeArgumentsAndRender(); $arguments90['keepQuotes'] = false; $arguments90['encoding'] = 'UTF-8'; $arguments90['doubleEncode'] = true; $renderChildrenClosure94 = function () use($renderingContext, $self) { return NULL; }; $value95 = $arguments90['value'] !== NULL ? $arguments90['value'] : $renderChildrenClosure94(); $output89 .= !is_string($value95) && !(is_object($value95) && method_exists($value95, '__toString')) ? $value95 : htmlspecialchars($value95, $arguments90['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments90['encoding'], $arguments90['doubleEncode']); $output89 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments96 = array(); $arguments96['name'] = 'Navigation'; $renderChildrenClosure97 = function () use($renderingContext, $self) { $output98 = ''; $output98 .= ' <nav class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navigation" aria-expanded="false"> <span class="sr-only">Toggle Navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">MyBlog</a> </div> <div class="collapse navbar-collapse" id="navigation"> <ul class="nav navbar-nav"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments99 = array(); $arguments99['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'listCategories', $renderingContext); $arguments99['as'] = 'navCategory'; $arguments99['key'] = ''; $arguments99['reverse'] = false; $arguments99['iteration'] = NULL; $renderChildrenClosure100 = function () use($renderingContext, $self) { $output101 = ''; $output101 .= ' <li> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments102 = array(); $arguments102['action'] = 'show'; $arguments102['controller'] = 'category'; // Rendering Array $array103 = array(); $array103['category'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'navCategory', $renderingContext); $arguments102['arguments'] = $array103; $arguments102['additionalAttributes'] = NULL; $arguments102['data'] = NULL; $arguments102['package'] = NULL; $arguments102['subpackage'] = NULL; $arguments102['section'] = ''; $arguments102['format'] = ''; $arguments102['additionalParams'] = array(); $arguments102['addQueryString'] = false; $arguments102['argumentsToBeExcludedFromQueryString'] = array(); $arguments102['useParentRequest'] = false; $arguments102['absolute'] = true; $arguments102['class'] = NULL; $arguments102['dir'] = NULL; $arguments102['id'] = NULL; $arguments102['lang'] = NULL; $arguments102['style'] = NULL; $arguments102['title'] = NULL; $arguments102['accesskey'] = NULL; $arguments102['tabindex'] = NULL; $arguments102['onclick'] = NULL; $arguments102['name'] = NULL; $arguments102['rel'] = NULL; $arguments102['rev'] = NULL; $arguments102['target'] = NULL; $renderChildrenClosure104 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments105 = array(); $arguments105['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'navCategory.title', $renderingContext); $arguments105['keepQuotes'] = false; $arguments105['encoding'] = 'UTF-8'; $arguments105['doubleEncode'] = true; $renderChildrenClosure106 = function () use($renderingContext, $self) { return NULL; }; $value107 = $arguments105['value'] !== NULL ? $arguments105['value'] : $renderChildrenClosure106(); return !is_string($value107) && !(is_object($value107) && method_exists($value107, '__toString')) ? $value107 : htmlspecialchars($value107, $arguments105['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments105['encoding'], $arguments105['doubleEncode']); }; $viewHelper108 = $self->getViewHelper('$viewHelper108', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper108->setArguments($arguments102); $viewHelper108->setRenderingContext($renderingContext); $viewHelper108->setRenderChildrenClosure($renderChildrenClosure104); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output101 .= $viewHelper108->initializeArgumentsAndRender(); $output101 .= ' </li> '; return $output101; }; $output98 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments99, $renderChildrenClosure100, $renderingContext); $output98 .= ' </ul> </div> </div> </nav> '; return $output98; }; $output89 .= ''; $output89 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments109 = array(); $arguments109['name'] = 'Sidebar'; $renderChildrenClosure110 = function () use($renderingContext, $self) { $output111 = ''; $output111 .= ' <h3>Category: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments112 = array(); $arguments112['action'] = 'index'; $arguments112['controller'] = 'category'; $arguments112['additionalAttributes'] = NULL; $arguments112['data'] = NULL; $arguments112['arguments'] = array(); $arguments112['package'] = NULL; $arguments112['subpackage'] = NULL; $arguments112['section'] = ''; $arguments112['format'] = ''; $arguments112['additionalParams'] = array(); $arguments112['addQueryString'] = false; $arguments112['argumentsToBeExcludedFromQueryString'] = array(); $arguments112['useParentRequest'] = false; $arguments112['absolute'] = true; $arguments112['class'] = NULL; $arguments112['dir'] = NULL; $arguments112['id'] = NULL; $arguments112['lang'] = NULL; $arguments112['style'] = NULL; $arguments112['title'] = NULL; $arguments112['accesskey'] = NULL; $arguments112['tabindex'] = NULL; $arguments112['onclick'] = NULL; $arguments112['name'] = NULL; $arguments112['rel'] = NULL; $arguments112['rev'] = NULL; $arguments112['target'] = NULL; $renderChildrenClosure113 = function () use($renderingContext, $self) { return 'View Category'; }; $viewHelper114 = $self->getViewHelper('$viewHelper114', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper114->setArguments($arguments112); $viewHelper114->setRenderingContext($renderingContext); $viewHelper114->setRenderChildrenClosure($renderChildrenClosure113); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output111 .= $viewHelper114->initializeArgumentsAndRender(); $output111 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments115 = array(); $arguments115['action'] = 'new'; $arguments115['controller'] = 'category'; $arguments115['additionalAttributes'] = NULL; $arguments115['data'] = NULL; $arguments115['arguments'] = array(); $arguments115['package'] = NULL; $arguments115['subpackage'] = NULL; $arguments115['section'] = ''; $arguments115['format'] = ''; $arguments115['additionalParams'] = array(); $arguments115['addQueryString'] = false; $arguments115['argumentsToBeExcludedFromQueryString'] = array(); $arguments115['useParentRequest'] = false; $arguments115['absolute'] = true; $arguments115['class'] = NULL; $arguments115['dir'] = NULL; $arguments115['id'] = NULL; $arguments115['lang'] = NULL; $arguments115['style'] = NULL; $arguments115['title'] = NULL; $arguments115['accesskey'] = NULL; $arguments115['tabindex'] = NULL; $arguments115['onclick'] = NULL; $arguments115['name'] = NULL; $arguments115['rel'] = NULL; $arguments115['rev'] = NULL; $arguments115['target'] = NULL; $renderChildrenClosure116 = function () use($renderingContext, $self) { return 'Create a new category'; }; $viewHelper117 = $self->getViewHelper('$viewHelper117', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper117->setArguments($arguments115); $viewHelper117->setRenderingContext($renderingContext); $viewHelper117->setRenderChildrenClosure($renderChildrenClosure116); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output111 .= $viewHelper117->initializeArgumentsAndRender(); $output111 .= '</p> <h3>Post: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments118 = array(); $arguments118['action'] = 'index'; $arguments118['controller'] = 'post'; $arguments118['additionalAttributes'] = NULL; $arguments118['data'] = NULL; $arguments118['arguments'] = array(); $arguments118['package'] = NULL; $arguments118['subpackage'] = NULL; $arguments118['section'] = ''; $arguments118['format'] = ''; $arguments118['additionalParams'] = array(); $arguments118['addQueryString'] = false; $arguments118['argumentsToBeExcludedFromQueryString'] = array(); $arguments118['useParentRequest'] = false; $arguments118['absolute'] = true; $arguments118['class'] = NULL; $arguments118['dir'] = NULL; $arguments118['id'] = NULL; $arguments118['lang'] = NULL; $arguments118['style'] = NULL; $arguments118['title'] = NULL; $arguments118['accesskey'] = NULL; $arguments118['tabindex'] = NULL; $arguments118['onclick'] = NULL; $arguments118['name'] = NULL; $arguments118['rel'] = NULL; $arguments118['rev'] = NULL; $arguments118['target'] = NULL; $renderChildrenClosure119 = function () use($renderingContext, $self) { return 'View Post'; }; $viewHelper120 = $self->getViewHelper('$viewHelper120', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper120->setArguments($arguments118); $viewHelper120->setRenderingContext($renderingContext); $viewHelper120->setRenderChildrenClosure($renderChildrenClosure119); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output111 .= $viewHelper120->initializeArgumentsAndRender(); $output111 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments121 = array(); $arguments121['action'] = 'new'; $arguments121['controller'] = 'post'; $arguments121['additionalAttributes'] = NULL; $arguments121['data'] = NULL; $arguments121['arguments'] = array(); $arguments121['package'] = NULL; $arguments121['subpackage'] = NULL; $arguments121['section'] = ''; $arguments121['format'] = ''; $arguments121['additionalParams'] = array(); $arguments121['addQueryString'] = false; $arguments121['argumentsToBeExcludedFromQueryString'] = array(); $arguments121['useParentRequest'] = false; $arguments121['absolute'] = true; $arguments121['class'] = NULL; $arguments121['dir'] = NULL; $arguments121['id'] = NULL; $arguments121['lang'] = NULL; $arguments121['style'] = NULL; $arguments121['title'] = NULL; $arguments121['accesskey'] = NULL; $arguments121['tabindex'] = NULL; $arguments121['onclick'] = NULL; $arguments121['name'] = NULL; $arguments121['rel'] = NULL; $arguments121['rev'] = NULL; $arguments121['target'] = NULL; $renderChildrenClosure122 = function () use($renderingContext, $self) { return 'Create new post'; }; $viewHelper123 = $self->getViewHelper('$viewHelper123', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper123->setArguments($arguments121); $viewHelper123->setRenderingContext($renderingContext); $viewHelper123->setRenderChildrenClosure($renderChildrenClosure122); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output111 .= $viewHelper123->initializeArgumentsAndRender(); $output111 .= '</p> <h3>Author: </h3> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments124 = array(); $arguments124['action'] = 'index'; $arguments124['controller'] = 'author'; $arguments124['additionalAttributes'] = NULL; $arguments124['data'] = NULL; $arguments124['arguments'] = array(); $arguments124['package'] = NULL; $arguments124['subpackage'] = NULL; $arguments124['section'] = ''; $arguments124['format'] = ''; $arguments124['additionalParams'] = array(); $arguments124['addQueryString'] = false; $arguments124['argumentsToBeExcludedFromQueryString'] = array(); $arguments124['useParentRequest'] = false; $arguments124['absolute'] = true; $arguments124['class'] = NULL; $arguments124['dir'] = NULL; $arguments124['id'] = NULL; $arguments124['lang'] = NULL; $arguments124['style'] = NULL; $arguments124['title'] = NULL; $arguments124['accesskey'] = NULL; $arguments124['tabindex'] = NULL; $arguments124['onclick'] = NULL; $arguments124['name'] = NULL; $arguments124['rel'] = NULL; $arguments124['rev'] = NULL; $arguments124['target'] = NULL; $renderChildrenClosure125 = function () use($renderingContext, $self) { return 'View Author'; }; $viewHelper126 = $self->getViewHelper('$viewHelper126', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper126->setArguments($arguments124); $viewHelper126->setRenderingContext($renderingContext); $viewHelper126->setRenderChildrenClosure($renderChildrenClosure125); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output111 .= $viewHelper126->initializeArgumentsAndRender(); $output111 .= '</p> <p>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments127 = array(); $arguments127['action'] = 'new'; $arguments127['controller'] = 'author'; $arguments127['additionalAttributes'] = NULL; $arguments127['data'] = NULL; $arguments127['arguments'] = array(); $arguments127['package'] = NULL; $arguments127['subpackage'] = NULL; $arguments127['section'] = ''; $arguments127['format'] = ''; $arguments127['additionalParams'] = array(); $arguments127['addQueryString'] = false; $arguments127['argumentsToBeExcludedFromQueryString'] = array(); $arguments127['useParentRequest'] = false; $arguments127['absolute'] = true; $arguments127['class'] = NULL; $arguments127['dir'] = NULL; $arguments127['id'] = NULL; $arguments127['lang'] = NULL; $arguments127['style'] = NULL; $arguments127['title'] = NULL; $arguments127['accesskey'] = NULL; $arguments127['tabindex'] = NULL; $arguments127['onclick'] = NULL; $arguments127['name'] = NULL; $arguments127['rel'] = NULL; $arguments127['rev'] = NULL; $arguments127['target'] = NULL; $renderChildrenClosure128 = function () use($renderingContext, $self) { return 'Create New Author'; }; $viewHelper129 = $self->getViewHelper('$viewHelper129', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper129->setArguments($arguments127); $viewHelper129->setRenderingContext($renderingContext); $viewHelper129->setRenderChildrenClosure($renderChildrenClosure128); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output111 .= $viewHelper129->initializeArgumentsAndRender(); $output111 .= '</p> '; return $output111; }; $output89 .= ''; $output89 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments130 = array(); $arguments130['name'] = 'Content'; $renderChildrenClosure131 = function () use($renderingContext, $self) { $output132 = ''; $output132 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments133 = array(); $arguments133['name'] = 'Title'; $renderChildrenClosure134 = function () use($renderingContext, $self) { return 'A list of categories'; }; $output132 .= ''; $output132 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\IfViewHelper $arguments135 = array(); // Rendering Boolean node $arguments135['condition'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(\TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'listCategories', $renderingContext)); $arguments135['then'] = NULL; $arguments135['else'] = NULL; $renderChildrenClosure136 = function () use($renderingContext, $self) { $output137 = ''; $output137 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ThenViewHelper $arguments138 = array(); $renderChildrenClosure139 = function () use($renderingContext, $self) { $output140 = ''; $output140 .= ' <table class="table"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments141 = array(); $arguments141['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'listCategories', $renderingContext); $arguments141['as'] = 'category'; $arguments141['key'] = ''; $arguments141['reverse'] = false; $arguments141['iteration'] = NULL; $renderChildrenClosure142 = function () use($renderingContext, $self) { $output143 = ''; $output143 .= ' <tr> <td>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments144 = array(); $arguments144['action'] = 'show'; // Rendering Array $array145 = array(); $array145['category'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'category', $renderingContext); $arguments144['arguments'] = $array145; $arguments144['additionalAttributes'] = NULL; $arguments144['data'] = NULL; $arguments144['controller'] = NULL; $arguments144['package'] = NULL; $arguments144['subpackage'] = NULL; $arguments144['section'] = ''; $arguments144['format'] = ''; $arguments144['additionalParams'] = array(); $arguments144['addQueryString'] = false; $arguments144['argumentsToBeExcludedFromQueryString'] = array(); $arguments144['useParentRequest'] = false; $arguments144['absolute'] = true; $arguments144['class'] = NULL; $arguments144['dir'] = NULL; $arguments144['id'] = NULL; $arguments144['lang'] = NULL; $arguments144['style'] = NULL; $arguments144['title'] = NULL; $arguments144['accesskey'] = NULL; $arguments144['tabindex'] = NULL; $arguments144['onclick'] = NULL; $arguments144['name'] = NULL; $arguments144['rel'] = NULL; $arguments144['rev'] = NULL; $arguments144['target'] = NULL; $renderChildrenClosure146 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments147 = array(); $arguments147['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'category.title', $renderingContext); $arguments147['keepQuotes'] = false; $arguments147['encoding'] = 'UTF-8'; $arguments147['doubleEncode'] = true; $renderChildrenClosure148 = function () use($renderingContext, $self) { return NULL; }; $value149 = $arguments147['value'] !== NULL ? $arguments147['value'] : $renderChildrenClosure148(); return !is_string($value149) && !(is_object($value149) && method_exists($value149, '__toString')) ? $value149 : htmlspecialchars($value149, $arguments147['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments147['encoding'], $arguments147['doubleEncode']); }; $viewHelper150 = $self->getViewHelper('$viewHelper150', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper150->setArguments($arguments144); $viewHelper150->setRenderingContext($renderingContext); $viewHelper150->setRenderChildrenClosure($renderChildrenClosure146); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output143 .= $viewHelper150->initializeArgumentsAndRender(); $output143 .= '</td> <td>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments151 = array(); $arguments151['class'] = 'btn btn-primary'; $arguments151['action'] = 'edit'; // Rendering Array $array152 = array(); $array152['category'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'category', $renderingContext); $arguments151['arguments'] = $array152; $arguments151['additionalAttributes'] = NULL; $arguments151['data'] = NULL; $arguments151['controller'] = NULL; $arguments151['package'] = NULL; $arguments151['subpackage'] = NULL; $arguments151['section'] = ''; $arguments151['format'] = ''; $arguments151['additionalParams'] = array(); $arguments151['addQueryString'] = false; $arguments151['argumentsToBeExcludedFromQueryString'] = array(); $arguments151['useParentRequest'] = false; $arguments151['absolute'] = true; $arguments151['dir'] = NULL; $arguments151['id'] = NULL; $arguments151['lang'] = NULL; $arguments151['style'] = NULL; $arguments151['title'] = NULL; $arguments151['accesskey'] = NULL; $arguments151['tabindex'] = NULL; $arguments151['onclick'] = NULL; $arguments151['name'] = NULL; $arguments151['rel'] = NULL; $arguments151['rev'] = NULL; $arguments151['target'] = NULL; $renderChildrenClosure153 = function () use($renderingContext, $self) { return 'Edit'; }; $viewHelper154 = $self->getViewHelper('$viewHelper154', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper154->setArguments($arguments151); $viewHelper154->setRenderingContext($renderingContext); $viewHelper154->setRenderChildrenClosure($renderChildrenClosure153); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output143 .= $viewHelper154->initializeArgumentsAndRender(); $output143 .= '</td> <td> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $arguments155 = array(); $arguments155['action'] = 'delete'; // Rendering Array $array156 = array(); $array156['category'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'category', $renderingContext); $arguments155['arguments'] = $array156; $arguments155['additionalAttributes'] = NULL; $arguments155['data'] = NULL; $arguments155['controller'] = NULL; $arguments155['package'] = NULL; $arguments155['subpackage'] = NULL; $arguments155['object'] = NULL; $arguments155['section'] = ''; $arguments155['format'] = ''; $arguments155['additionalParams'] = array(); $arguments155['absolute'] = false; $arguments155['addQueryString'] = false; $arguments155['argumentsToBeExcludedFromQueryString'] = array(); $arguments155['fieldNamePrefix'] = NULL; $arguments155['actionUri'] = NULL; $arguments155['objectName'] = NULL; $arguments155['useParentRequest'] = false; $arguments155['enctype'] = NULL; $arguments155['method'] = NULL; $arguments155['name'] = NULL; $arguments155['onreset'] = NULL; $arguments155['onsubmit'] = NULL; $arguments155['class'] = NULL; $arguments155['dir'] = NULL; $arguments155['id'] = NULL; $arguments155['lang'] = NULL; $arguments155['style'] = NULL; $arguments155['title'] = NULL; $arguments155['accesskey'] = NULL; $arguments155['tabindex'] = NULL; $arguments155['onclick'] = NULL; $renderChildrenClosure157 = function () use($renderingContext, $self) { $output158 = ''; $output158 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $arguments159 = array(); $arguments159['class'] = 'btn btn-danger'; $arguments159['value'] = 'Delete'; $arguments159['additionalAttributes'] = NULL; $arguments159['data'] = NULL; $arguments159['name'] = NULL; $arguments159['property'] = NULL; $arguments159['disabled'] = NULL; $arguments159['dir'] = NULL; $arguments159['id'] = NULL; $arguments159['lang'] = NULL; $arguments159['style'] = NULL; $arguments159['title'] = NULL; $arguments159['accesskey'] = NULL; $arguments159['tabindex'] = NULL; $arguments159['onclick'] = NULL; $renderChildrenClosure160 = function () use($renderingContext, $self) { return NULL; }; $viewHelper161 = $self->getViewHelper('$viewHelper161', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\SubmitViewHelper'); $viewHelper161->setArguments($arguments159); $viewHelper161->setRenderingContext($renderingContext); $viewHelper161->setRenderChildrenClosure($renderChildrenClosure160); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $output158 .= $viewHelper161->initializeArgumentsAndRender(); $output158 .= ' '; return $output158; }; $viewHelper162 = $self->getViewHelper('$viewHelper162', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\FormViewHelper'); $viewHelper162->setArguments($arguments155); $viewHelper162->setRenderingContext($renderingContext); $viewHelper162->setRenderChildrenClosure($renderChildrenClosure157); // End of ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $output143 .= $viewHelper162->initializeArgumentsAndRender(); $output143 .= ' </td> </tr> '; return $output143; }; $output140 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments141, $renderChildrenClosure142, $renderingContext); $output140 .= ' </table> '; return $output140; }; $viewHelper163 = $self->getViewHelper('$viewHelper163', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\ThenViewHelper'); $viewHelper163->setArguments($arguments138); $viewHelper163->setRenderingContext($renderingContext); $viewHelper163->setRenderChildrenClosure($renderChildrenClosure139); // End of ViewHelper TYPO3\Fluid\ViewHelpers\ThenViewHelper $output137 .= $viewHelper163->initializeArgumentsAndRender(); $output137 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ElseViewHelper $arguments164 = array(); $renderChildrenClosure165 = function () use($renderingContext, $self) { return ' <p>No categories created yet.</p> '; }; $viewHelper166 = $self->getViewHelper('$viewHelper166', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\ElseViewHelper'); $viewHelper166->setArguments($arguments164); $viewHelper166->setRenderingContext($renderingContext); $viewHelper166->setRenderChildrenClosure($renderChildrenClosure165); // End of ViewHelper TYPO3\Fluid\ViewHelpers\ElseViewHelper $output137 .= $viewHelper166->initializeArgumentsAndRender(); $output137 .= ' '; return $output137; }; $arguments135['__thenClosure'] = function () use($renderingContext, $self) { $output167 = ''; $output167 .= ' <table class="table"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments168 = array(); $arguments168['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'listCategories', $renderingContext); $arguments168['as'] = 'category'; $arguments168['key'] = ''; $arguments168['reverse'] = false; $arguments168['iteration'] = NULL; $renderChildrenClosure169 = function () use($renderingContext, $self) { $output170 = ''; $output170 .= ' <tr> <td>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments171 = array(); $arguments171['action'] = 'show'; // Rendering Array $array172 = array(); $array172['category'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'category', $renderingContext); $arguments171['arguments'] = $array172; $arguments171['additionalAttributes'] = NULL; $arguments171['data'] = NULL; $arguments171['controller'] = NULL; $arguments171['package'] = NULL; $arguments171['subpackage'] = NULL; $arguments171['section'] = ''; $arguments171['format'] = ''; $arguments171['additionalParams'] = array(); $arguments171['addQueryString'] = false; $arguments171['argumentsToBeExcludedFromQueryString'] = array(); $arguments171['useParentRequest'] = false; $arguments171['absolute'] = true; $arguments171['class'] = NULL; $arguments171['dir'] = NULL; $arguments171['id'] = NULL; $arguments171['lang'] = NULL; $arguments171['style'] = NULL; $arguments171['title'] = NULL; $arguments171['accesskey'] = NULL; $arguments171['tabindex'] = NULL; $arguments171['onclick'] = NULL; $arguments171['name'] = NULL; $arguments171['rel'] = NULL; $arguments171['rev'] = NULL; $arguments171['target'] = NULL; $renderChildrenClosure173 = function () use($renderingContext, $self) { // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments174 = array(); $arguments174['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'category.title', $renderingContext); $arguments174['keepQuotes'] = false; $arguments174['encoding'] = 'UTF-8'; $arguments174['doubleEncode'] = true; $renderChildrenClosure175 = function () use($renderingContext, $self) { return NULL; }; $value176 = $arguments174['value'] !== NULL ? $arguments174['value'] : $renderChildrenClosure175(); return !is_string($value176) && !(is_object($value176) && method_exists($value176, '__toString')) ? $value176 : htmlspecialchars($value176, $arguments174['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments174['encoding'], $arguments174['doubleEncode']); }; $viewHelper177 = $self->getViewHelper('$viewHelper177', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper177->setArguments($arguments171); $viewHelper177->setRenderingContext($renderingContext); $viewHelper177->setRenderChildrenClosure($renderChildrenClosure173); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output170 .= $viewHelper177->initializeArgumentsAndRender(); $output170 .= '</td> <td>'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $arguments178 = array(); $arguments178['class'] = 'btn btn-primary'; $arguments178['action'] = 'edit'; // Rendering Array $array179 = array(); $array179['category'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'category', $renderingContext); $arguments178['arguments'] = $array179; $arguments178['additionalAttributes'] = NULL; $arguments178['data'] = NULL; $arguments178['controller'] = NULL; $arguments178['package'] = NULL; $arguments178['subpackage'] = NULL; $arguments178['section'] = ''; $arguments178['format'] = ''; $arguments178['additionalParams'] = array(); $arguments178['addQueryString'] = false; $arguments178['argumentsToBeExcludedFromQueryString'] = array(); $arguments178['useParentRequest'] = false; $arguments178['absolute'] = true; $arguments178['dir'] = NULL; $arguments178['id'] = NULL; $arguments178['lang'] = NULL; $arguments178['style'] = NULL; $arguments178['title'] = NULL; $arguments178['accesskey'] = NULL; $arguments178['tabindex'] = NULL; $arguments178['onclick'] = NULL; $arguments178['name'] = NULL; $arguments178['rel'] = NULL; $arguments178['rev'] = NULL; $arguments178['target'] = NULL; $renderChildrenClosure180 = function () use($renderingContext, $self) { return 'Edit'; }; $viewHelper181 = $self->getViewHelper('$viewHelper181', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'); $viewHelper181->setArguments($arguments178); $viewHelper181->setRenderingContext($renderingContext); $viewHelper181->setRenderChildrenClosure($renderChildrenClosure180); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper $output170 .= $viewHelper181->initializeArgumentsAndRender(); $output170 .= '</td> <td> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $arguments182 = array(); $arguments182['action'] = 'delete'; // Rendering Array $array183 = array(); $array183['category'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'category', $renderingContext); $arguments182['arguments'] = $array183; $arguments182['additionalAttributes'] = NULL; $arguments182['data'] = NULL; $arguments182['controller'] = NULL; $arguments182['package'] = NULL; $arguments182['subpackage'] = NULL; $arguments182['object'] = NULL; $arguments182['section'] = ''; $arguments182['format'] = ''; $arguments182['additionalParams'] = array(); $arguments182['absolute'] = false; $arguments182['addQueryString'] = false; $arguments182['argumentsToBeExcludedFromQueryString'] = array(); $arguments182['fieldNamePrefix'] = NULL; $arguments182['actionUri'] = NULL; $arguments182['objectName'] = NULL; $arguments182['useParentRequest'] = false; $arguments182['enctype'] = NULL; $arguments182['method'] = NULL; $arguments182['name'] = NULL; $arguments182['onreset'] = NULL; $arguments182['onsubmit'] = NULL; $arguments182['class'] = NULL; $arguments182['dir'] = NULL; $arguments182['id'] = NULL; $arguments182['lang'] = NULL; $arguments182['style'] = NULL; $arguments182['title'] = NULL; $arguments182['accesskey'] = NULL; $arguments182['tabindex'] = NULL; $arguments182['onclick'] = NULL; $renderChildrenClosure184 = function () use($renderingContext, $self) { $output185 = ''; $output185 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $arguments186 = array(); $arguments186['class'] = 'btn btn-danger'; $arguments186['value'] = 'Delete'; $arguments186['additionalAttributes'] = NULL; $arguments186['data'] = NULL; $arguments186['name'] = NULL; $arguments186['property'] = NULL; $arguments186['disabled'] = NULL; $arguments186['dir'] = NULL; $arguments186['id'] = NULL; $arguments186['lang'] = NULL; $arguments186['style'] = NULL; $arguments186['title'] = NULL; $arguments186['accesskey'] = NULL; $arguments186['tabindex'] = NULL; $arguments186['onclick'] = NULL; $renderChildrenClosure187 = function () use($renderingContext, $self) { return NULL; }; $viewHelper188 = $self->getViewHelper('$viewHelper188', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\Form\\SubmitViewHelper'); $viewHelper188->setArguments($arguments186); $viewHelper188->setRenderingContext($renderingContext); $viewHelper188->setRenderChildrenClosure($renderChildrenClosure187); // End of ViewHelper TYPO3\Fluid\ViewHelpers\Form\SubmitViewHelper $output185 .= $viewHelper188->initializeArgumentsAndRender(); $output185 .= ' '; return $output185; }; $viewHelper189 = $self->getViewHelper('$viewHelper189', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\FormViewHelper'); $viewHelper189->setArguments($arguments182); $viewHelper189->setRenderingContext($renderingContext); $viewHelper189->setRenderChildrenClosure($renderChildrenClosure184); // End of ViewHelper TYPO3\Fluid\ViewHelpers\FormViewHelper $output170 .= $viewHelper189->initializeArgumentsAndRender(); $output170 .= ' </td> </tr> '; return $output170; }; $output167 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments168, $renderChildrenClosure169, $renderingContext); $output167 .= ' </table> '; return $output167; }; $arguments135['__elseClosure'] = function () use($renderingContext, $self) { return ' <p>No categories created yet.</p> '; }; $viewHelper190 = $self->getViewHelper('$viewHelper190', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\IfViewHelper'); $viewHelper190->setArguments($arguments135); $viewHelper190->setRenderingContext($renderingContext); $viewHelper190->setRenderChildrenClosure($renderChildrenClosure136); // End of ViewHelper TYPO3\Fluid\ViewHelpers\IfViewHelper $output132 .= $viewHelper190->initializeArgumentsAndRender(); $output132 .= ' '; return $output132; }; $output89 .= ''; $output89 .= ' '; return $output89; }
/** * Main Render function */ public function render(\TYPO3\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) { $self = $this; $output19 = ''; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments20 = array(); // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments21 = array(); $arguments21['name'] = 'Default'; $renderChildrenClosure22 = function () use($renderingContext, $self) { return NULL; }; $viewHelper23 = $self->getViewHelper('$viewHelper23', $renderingContext, 'TYPO3\\Fluid\\ViewHelpers\\LayoutViewHelper'); $viewHelper23->setArguments($arguments21); $viewHelper23->setRenderingContext($renderingContext); $viewHelper23->setRenderChildrenClosure($renderChildrenClosure22); // End of ViewHelper TYPO3\Fluid\ViewHelpers\LayoutViewHelper $arguments20['value'] = $viewHelper23->initializeArgumentsAndRender(); $arguments20['keepQuotes'] = false; $arguments20['encoding'] = 'UTF-8'; $arguments20['doubleEncode'] = true; $renderChildrenClosure24 = function () use($renderingContext, $self) { return NULL; }; $value25 = $arguments20['value'] !== NULL ? $arguments20['value'] : $renderChildrenClosure24(); $output19 .= !is_string($value25) && !(is_object($value25) && method_exists($value25, '__toString')) ? $value25 : htmlspecialchars($value25, $arguments20['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments20['encoding'], $arguments20['doubleEncode']); $output19 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\SectionViewHelper $arguments26 = array(); $arguments26['name'] = 'Main'; $renderChildrenClosure27 = function () use($renderingContext, $self) { $output28 = ''; $output28 .= ' Edit: '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments29 = array(); $arguments29['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'item.name', $renderingContext); $arguments29['keepQuotes'] = false; $arguments29['encoding'] = 'UTF-8'; $arguments29['doubleEncode'] = true; $renderChildrenClosure30 = function () use($renderingContext, $self) { return NULL; }; $value31 = $arguments29['value'] !== NULL ? $arguments29['value'] : $renderChildrenClosure30(); $output28 .= !is_string($value31) && !(is_object($value31) && method_exists($value31, '__toString')) ? $value31 : htmlspecialchars($value31, $arguments29['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments29['encoding'], $arguments29['doubleEncode']); $output28 .= ' <form action="profiles/edit/'; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments32 = array(); $arguments32['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'item.id', $renderingContext); $arguments32['keepQuotes'] = false; $arguments32['encoding'] = 'UTF-8'; $arguments32['doubleEncode'] = true; $renderChildrenClosure33 = function () use($renderingContext, $self) { return NULL; }; $value34 = $arguments32['value'] !== NULL ? $arguments32['value'] : $renderChildrenClosure33(); $output28 .= !is_string($value34) && !(is_object($value34) && method_exists($value34, '__toString')) ? $value34 : htmlspecialchars($value34, $arguments32['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments32['encoding'], $arguments32['doubleEncode']); $output28 .= '" method="post"> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments35 = array(); $arguments35['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'schema.fieldsets', $renderingContext); $arguments35['as'] = 'fieldset'; $arguments35['key'] = NULL; $arguments35['reverse'] = false; $arguments35['iteration'] = NULL; $renderChildrenClosure36 = function () use($renderingContext, $self) { $output37 = ''; $output37 .= ' <fieldset> '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper $arguments38 = array(); $arguments38['value'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'fieldset.name', $renderingContext); $arguments38['keepQuotes'] = false; $arguments38['encoding'] = 'UTF-8'; $arguments38['doubleEncode'] = true; $renderChildrenClosure39 = function () use($renderingContext, $self) { return NULL; }; $value40 = $arguments38['value'] !== NULL ? $arguments38['value'] : $renderChildrenClosure39(); $output37 .= !is_string($value40) && !(is_object($value40) && method_exists($value40, '__toString')) ? $value40 : htmlspecialchars($value40, $arguments38['keepQuotes'] ? ENT_NOQUOTES : ENT_COMPAT, $arguments38['encoding'], $arguments38['doubleEncode']); $output37 .= ' '; // Rendering ViewHelper TYPO3\Fluid\ViewHelpers\ForViewHelper $arguments41 = array(); $arguments41['each'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'fieldset.fields', $renderingContext); $arguments41['as'] = 'field'; $arguments41['key'] = NULL; $arguments41['reverse'] = false; $arguments41['iteration'] = NULL; $renderChildrenClosure42 = function () use($renderingContext, $self) { $output43 = ''; $output43 .= ' '; // Rendering ViewHelper Flowpack\Expose\ViewHelpers\Form\FieldViewHelper $arguments44 = array(); $arguments44['name'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'field', $renderingContext); $arguments44['id'] = \TYPO3\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode::getPropertyPath($renderingContext->getTemplateVariableContainer(), 'field', $renderingContext); $arguments44['class'] = 'form-control'; $arguments44['wrap'] = 'Default'; $arguments44['additionalAttributes'] = NULL; $arguments44['data'] = NULL; $arguments44['control'] = NULL; $arguments44['value'] = NULL; $arguments44['required'] = false; $arguments44['dir'] = NULL; $arguments44['lang'] = NULL; $arguments44['style'] = NULL; $arguments44['title'] = NULL; $arguments44['accesskey'] = NULL; $arguments44['tabindex'] = NULL; $arguments44['onclick'] = NULL; $renderChildrenClosure45 = function () use($renderingContext, $self) { return NULL; }; $viewHelper46 = $self->getViewHelper('$viewHelper46', $renderingContext, 'Flowpack\\Expose\\ViewHelpers\\Form\\FieldViewHelper'); $viewHelper46->setArguments($arguments44); $viewHelper46->setRenderingContext($renderingContext); $viewHelper46->setRenderChildrenClosure($renderChildrenClosure45); // End of ViewHelper Flowpack\Expose\ViewHelpers\Form\FieldViewHelper $output43 .= $viewHelper46->initializeArgumentsAndRender(); $output43 .= ' '; return $output43; }; $output37 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments41, $renderChildrenClosure42, $renderingContext); $output37 .= ' </fieldset> '; return $output37; }; $output28 .= TYPO3\Fluid\ViewHelpers\ForViewHelper::renderStatic($arguments35, $renderChildrenClosure36, $renderingContext); $output28 .= ' <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> <button type="submit">Submit</button> </div> </div> </form> '; return $output28; }; $output19 .= ''; return $output19; }