2 namespace TYPO3\CMS\Fluid\ViewHelpers\Be;
65 public function render($pageTitle =
'', $loadExtJs =
false, $loadExtJsTheme =
true, $enableExtJsDebug =
false, $loadJQuery =
false, $includeCssFiles = null, $includeJsFiles = null, $addJsInlineLabels = null, $includeRequireJsModules = null)
68 $this->pageRenderer->setTitle($pageTitle);
71 $this->pageRenderer->loadExtJS(
true, $loadExtJsTheme);
72 if ($enableExtJsDebug) {
73 $this->pageRenderer->enableExtJsDebug();
80 if (is_array($includeCssFiles) && count($includeCssFiles) > 0) {
81 foreach ($includeCssFiles as $addCssFile) {
82 $this->pageRenderer->addCssFile($addCssFile);
85 if (is_array($includeJsFiles) && count($includeJsFiles) > 0) {
86 foreach ($includeJsFiles as $addJsFile) {
87 $this->pageRenderer->addJsFile($addJsFile);
90 if (is_array($includeRequireJsModules) && count($includeRequireJsModules) > 0) {
91 foreach ($includeRequireJsModules as $addRequireJsFile) {
92 $this->pageRenderer->loadRequireJsModule($addRequireJsFile);
96 if (is_array($addJsInlineLabels) && count($addJsInlineLabels) > 0) {
97 $extensionKey = $this->controllerContext->getRequest()->getControllerExtensionKey();
98 foreach ($addJsInlineLabels as $key) {
100 $this->pageRenderer->addInlineLanguageLabel($key, $label);