‪TYPO3CMS  ‪main
TYPO3\CMS\Install\Controller\BackendModuleController Class Reference

Public Member Functions

 __construct (protected readonly ModuleTemplateFactory $moduleTemplateFactory, protected readonly SessionService $sessionService)
 
 maintenanceAction (ServerRequestInterface $request)
 
 settingsAction (ServerRequestInterface $request)
 
 upgradeAction (ServerRequestInterface $request)
 
 environmentAction (ServerRequestInterface $request)
 

Protected Member Functions

 setAuthorizedAndRedirect (string $controller, ServerRequestInterface $request)
 
 getBackendUser ()
 

Detailed Description

Backend module controller to the Install Tool. Sets an Install Tool session marked as "initialized by a valid system administrator backend user" and redirects to the Install Tool entry point.

This is a classic backend module that does not interfere with other code within the Install Tool, it can be seen as a facade around Install Tool just to embed the Install Tool in backend.

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

Definition at line 40 of file BackendModuleController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Install\Controller\BackendModuleController::__construct ( protected readonly ModuleTemplateFactory  $moduleTemplateFactory,
protected readonly SessionService  $sessionService 
)

Definition at line 42 of file BackendModuleController.php.

Member Function Documentation

◆ environmentAction()

TYPO3\CMS\Install\Controller\BackendModuleController::environmentAction ( ServerRequestInterface  $request)

Initialize session and redirect to "environment"

Definition at line 74 of file BackendModuleController.php.

References TYPO3\CMS\Install\Controller\BackendModuleController\setAuthorizedAndRedirect().

◆ getBackendUser()

TYPO3\CMS\Install\Controller\BackendModuleController::getBackendUser ( )
protected

◆ maintenanceAction()

TYPO3\CMS\Install\Controller\BackendModuleController::maintenanceAction ( ServerRequestInterface  $request)

Initialize session and redirect to "maintenance"

Definition at line 50 of file BackendModuleController.php.

References TYPO3\CMS\Install\Controller\BackendModuleController\setAuthorizedAndRedirect().

◆ setAuthorizedAndRedirect()

TYPO3\CMS\Install\Controller\BackendModuleController::setAuthorizedAndRedirect ( string  $controller,
ServerRequestInterface  $request 
)
protected

◆ settingsAction()

TYPO3\CMS\Install\Controller\BackendModuleController::settingsAction ( ServerRequestInterface  $request)

Initialize session and redirect to "settings"

Definition at line 58 of file BackendModuleController.php.

References TYPO3\CMS\Install\Controller\BackendModuleController\setAuthorizedAndRedirect().

◆ upgradeAction()

TYPO3\CMS\Install\Controller\BackendModuleController::upgradeAction ( ServerRequestInterface  $request)

Initialize session and redirect to "upgrade"

Definition at line 66 of file BackendModuleController.php.

References TYPO3\CMS\Install\Controller\BackendModuleController\setAuthorizedAndRedirect().