2 namespace TYPO3\CMS\Install\View;
61 public function render($alert =
false)
67 $realView = $this->objectManager->get(\TYPO3\CMS\Install\View\StandaloneView::class);
68 $realView->assignMultiple($this->variables);
69 $realView->setTemplatePathAndFilename($this->templatePathAndFileName);
70 $realView->setLayoutRootPaths(array($this->layoutRootPath));
71 $realView->setPartialRootPaths(array($this->partialRootPath));
73 return $realView->render();
83 $templatePath = preg_replace(
'#\.html$#',
'.phtml', $this->templatePathAndFileName);
85 include $templatePath;
86 $renderedTemplate = ob_get_contents();
89 return $renderedTemplate;