BackendModuleController
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.
Table of Contents
Properties
Methods
- __construct() : mixed
- environmentAction() : ResponseInterface
- Initialize session and redirect to "environment"
- maintenanceAction() : ResponseInterface
- Initialize session and redirect to "maintenance"
- settingsAction() : ResponseInterface
- Initialize session and redirect to "settings"
- upgradeAction() : ResponseInterface
- Initialize session and redirect to "upgrade"
- getBackendUser() : BackendUserAuthentication
- getSessionService() : SessionService
- Install Tool modified sessions meta-data (handler, storage, name) which conflicts with existing session that for instance.
- setAuthorizedAndRedirect() : ResponseInterface
- Starts / updates the session and redirects to the Install Tool with given action.
Properties
$moduleTemplateFactory read-only
protected
ModuleTemplateFactory
$moduleTemplateFactory
$sessionService
protected
SessionService|null
$sessionService
= null
Methods
__construct()
public
__construct(ModuleTemplateFactory $moduleTemplateFactory) : mixed
Parameters
- $moduleTemplateFactory : ModuleTemplateFactory
environmentAction()
Initialize session and redirect to "environment"
public
environmentAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacemaintenanceAction()
Initialize session and redirect to "maintenance"
public
maintenanceAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacesettingsAction()
Initialize session and redirect to "settings"
public
settingsAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceupgradeAction()
Initialize session and redirect to "upgrade"
public
upgradeAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacegetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetSessionService()
Install Tool modified sessions meta-data (handler, storage, name) which conflicts with existing session that for instance.
protected
getSessionService() : SessionService
Return values
SessionServicesetAuthorizedAndRedirect()
Starts / updates the session and redirects to the Install Tool with given action.
protected
setAuthorizedAndRedirect(string $controller, ServerRequestInterface $request) : ResponseInterface
Parameters
- $controller : string
- $request : ServerRequestInterface