‪TYPO3CMS  10.4
TYPO3\CMS\Install\Controller\LayoutController Class Reference
Inheritance diagram for TYPO3\CMS\Install\Controller\LayoutController:
TYPO3\CMS\Install\Controller\AbstractController

Public Member Functions

 __construct (SilentConfigurationUpgradeService $silentConfigurationUpgradeService)
 
ResponseInterface initAction (ServerRequestInterface $request)
 
ResponseInterface mainLayoutAction (ServerRequestInterface $request)
 
ResponseInterface executeSilentConfigurationUpdateAction ()
 
ResponseInterface executeSilentExtensionConfigurationSynchronizationAction ()
 

Private Attributes

SilentConfigurationUpgradeService $silentConfigurationUpgradeService
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Install\Controller\AbstractController
StandaloneView initializeStandaloneView (ServerRequestInterface $request, string $templatePath)
 

Detailed Description

Layout controller

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

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

Definition at line 38 of file LayoutController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Controller\LayoutController::__construct ( SilentConfigurationUpgradeService  $silentConfigurationUpgradeService)

Member Function Documentation

◆ executeSilentConfigurationUpdateAction()

ResponseInterface TYPO3\CMS\Install\Controller\LayoutController::executeSilentConfigurationUpdateAction ( )

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

Returns
‪ResponseInterface success = true if no change has been done

Definition at line 101 of file LayoutController.php.

◆ executeSilentExtensionConfigurationSynchronizationAction()

ResponseInterface TYPO3\CMS\Install\Controller\LayoutController::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.

Returns
‪ResponseInterface

Definition at line 122 of file LayoutController.php.

◆ initAction()

ResponseInterface TYPO3\CMS\Install\Controller\LayoutController::initAction ( ServerRequestInterface  $request)

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

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 57 of file LayoutController.php.

References $GLOBALS, TYPO3\CMS\Core\Core\Environment\getContext(), TYPO3\CMS\Core\Core\Environment\getProjectPath(), and TYPO3\CMS\Install\Controller\AbstractController\initializeStandaloneView().

◆ mainLayoutAction()

ResponseInterface TYPO3\CMS\Install\Controller\LayoutController::mainLayoutAction ( ServerRequestInterface  $request)

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.

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 87 of file LayoutController.php.

References TYPO3\CMS\Install\Controller\AbstractController\initializeStandaloneView().

Member Data Documentation

◆ $silentConfigurationUpgradeService

SilentConfigurationUpgradeService TYPO3\CMS\Install\Controller\LayoutController::$silentConfigurationUpgradeService
private