createFrameset(); return new HtmlResponse($this->content); } /** * Main function. * Creates the header code and the frameset for the two frames. */ public function main() { $this->createFrameset(); } /** * Main function. * Creates the header code and the frameset for the two frames. */ protected function createFrameset(): void { $title = 'TYPO3 Re-Login (' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'] . ')'; $this->getDocumentTemplate()->startPage($title); /** @var UriBuilder $uriBuilder */ $uriBuilder = GeneralUtility::makeInstance(UriBuilder::class); // Create the frameset for the window $this->content = $this->getPageRenderer()->render(PageRenderer::PART_HEADER) . ' '; } /** * Returns an instance of DocumentTemplate * * @return DocumentTemplate */ protected function getDocumentTemplate(): DocumentTemplate { return $GLOBALS['TBE_TEMPLATE']; } /** * @return PageRenderer */ protected function getPageRenderer(): PageRenderer { return GeneralUtility::makeInstance(PageRenderer::class); } }