LayoutController extends AbstractController

Layout controller

Renders a first "load the Javascript in " view, and the main layout of the install tool in second action.

Internal

This class is a specific controller implementation and is not considered part of the Public TYPO3 API.

Table of Contents

Methods

__construct()  : mixed
executeSilentConfigurationUpdateAction()  : ResponseInterface
Execute silent configuration update. May be called multiple times until success = true is returned.
executeSilentExtensionConfigurationSynchronizationAction()  : ResponseInterface
Synchronize TYPO3_CONF_VARS['EXTENSIONS'] with possibly new defaults from extensions ext_conf_template.txt files. This make LocalConfiguration the only source of truth for extension configuration and it is always up to date, also if an extension has been updated.
executeSilentTemplateFileUpdateAction()  : ResponseInterface
Execute silent template files update. May be called multiple times until success = true is returned.
initAction()  : ResponseInterface
The init action renders an HTML response with HTML view having <head> section containing resources to main .js routing.
mainLayoutAction()  : ResponseInterface
Return a json response with the main HTML layout body: Toolbar, main menu and doc header in standalone, doc header only in backend context. Silent updaters are executed before this main view is loaded.
initializeStandaloneView()  : StandaloneView
Helper method to initialize a standalone view instance.

Methods

executeSilentConfigurationUpdateAction()

Execute silent configuration update. May be called multiple times until success = true is returned.

public executeSilentConfigurationUpdateAction() : ResponseInterface
Return values
ResponseInterface

success = true if no change has been done

executeSilentExtensionConfigurationSynchronizationAction()

Synchronize TYPO3_CONF_VARS['EXTENSIONS'] with possibly new defaults from extensions ext_conf_template.txt files. This make LocalConfiguration the only source of truth for extension configuration and it is always up to date, also if an extension has been updated.

public executeSilentExtensionConfigurationSynchronizationAction() : ResponseInterface
Return values
ResponseInterface

executeSilentTemplateFileUpdateAction()

Execute silent template files update. May be called multiple times until success = true is returned.

public executeSilentTemplateFileUpdateAction() : ResponseInterface
Return values
ResponseInterface

success = true if no change has been done

initAction()

The init action renders an HTML response with HTML view having <head> section containing resources to main .js routing.

public initAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

mainLayoutAction()

Return a json response with the main HTML layout body: Toolbar, main menu and doc header in standalone, doc header only in backend context. Silent updaters are executed before this main view is loaded.

public mainLayoutAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

initializeStandaloneView()

Helper method to initialize a standalone view instance.

protected initializeStandaloneView(ServerRequestInterface $request, string $templatePath) : StandaloneView
Parameters
$request : ServerRequestInterface
$templatePath : string
Internal

param string $template

Return values
StandaloneView

        
On this page

Search results