InstallerController uses ControllerTrait

FinalYes

Install step controller, dispatcher class of step actions.

Internal

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

Tags
phpstan-import-type

Params from DriverManager

Table of Contents

Methods

__construct()  : mixed
checkDatabaseConnectAction()  : ResponseInterface
Check if database connect step needs to be shown
checkDatabaseDataAction()  : ResponseInterface
Check if initial data needs to be imported
checkDatabaseRequirementsAction()  : ResponseInterface
Pre-check whether all requirements for the installed database driver and platform are fulfilled
checkDatabaseSelectAction()  : ResponseInterface
Check if a database needs to be selected
checkEnvironmentAndFoldersAction()  : ResponseInterface
Check if "environment and folders" should be shown
checkTrustedHostsPatternAction()  : ResponseInterface
Check if trusted hosts pattern needs to be adjusted
executeAdjustTrustedHostsPatternAction()  : ResponseInterface
Adjust trusted hosts pattern to '.*' if it does not match yet
executeDatabaseConnectAction()  : ResponseInterface
Test database connect data
executeDatabaseDataAction()  : ResponseInterface
Create main db layout
executeDatabaseSelectAction()  : ResponseInterface
Select / create and test a database
executeDefaultConfigurationAction()  : ResponseInterface
Last step execution: clean up, remove FIRST_INSTALL file, .
executeEnvironmentAndFoldersAction()  : ResponseInterface
Create main folder layout, LocalConfiguration, PackageStates
initAction()  : ResponseInterface
Init action loads <head> with JS initiating further stuff
mainLayoutAction()  : ResponseInterface
Main layout with progress bar, header
showDatabaseConnectAction()  : ResponseInterface
Show database connect step
showDatabaseDataAction()  : ResponseInterface
Render "import initial data"
showDatabaseSelectAction()  : ResponseInterface
Render "select a database"
showDefaultConfigurationAction()  : ResponseInterface
Show last "create empty site / install distribution"
showEnvironmentAndFoldersAction()  : ResponseInterface
Render "environment and folders"
showInstallerNotAvailableAction()  : ResponseInterface
Render "FIRST_INSTALL file need to exist" view
createContentSecurityPolicy()  : Policy
Using fixed Content-Security-Policy for Admin Tool (extensions and database might not be available)
initializeView()  : ViewInterface
Helper method to initialize a standalone view instance.

Methods

__construct()

public __construct(LateBootService $lateBootService, ConfigurationManager $configurationManager, FailsafePackageManager $packageManager, VerifyHostHeader $verifyHostHeader, FormProtectionFactory $formProtectionFactory, SetupService $setupService, SetupDatabaseService $setupDatabaseService, HashService $hashService) : mixed
Parameters
$lateBootService : LateBootService
$configurationManager : ConfigurationManager
$packageManager : FailsafePackageManager
$verifyHostHeader : VerifyHostHeader
$formProtectionFactory : FormProtectionFactory
$setupService : SetupService
$setupDatabaseService : SetupDatabaseService
$hashService : HashService

checkDatabaseConnectAction()

Check if database connect step needs to be shown

public checkDatabaseConnectAction() : ResponseInterface
Return values
ResponseInterface

checkDatabaseDataAction()

Check if initial data needs to be imported

public checkDatabaseDataAction() : ResponseInterface
Return values
ResponseInterface

checkDatabaseRequirementsAction()

Pre-check whether all requirements for the installed database driver and platform are fulfilled

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

checkDatabaseSelectAction()

Check if a database needs to be selected

public checkDatabaseSelectAction() : ResponseInterface
Return values
ResponseInterface

checkEnvironmentAndFoldersAction()

Check if "environment and folders" should be shown

public checkEnvironmentAndFoldersAction() : ResponseInterface
Return values
ResponseInterface

checkTrustedHostsPatternAction()

Check if trusted hosts pattern needs to be adjusted

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

executeAdjustTrustedHostsPatternAction()

Adjust trusted hosts pattern to '.*' if it does not match yet

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

executeDatabaseConnectAction()

Test database connect data

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

executeDatabaseDataAction()

Create main db layout

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

executeDatabaseSelectAction()

Select / create and test a database

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

executeDefaultConfigurationAction()

Last step execution: clean up, remove FIRST_INSTALL file, .

public executeDefaultConfigurationAction(ServerRequestInterface $request) : ResponseInterface

..

Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

executeEnvironmentAndFoldersAction()

Create main folder layout, LocalConfiguration, PackageStates

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

initAction()

Init action loads <head> with JS initiating further stuff

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

mainLayoutAction()

Main layout with progress bar, header

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

showDatabaseConnectAction()

Show database connect step

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

showDatabaseDataAction()

Render "import initial data"

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

showDatabaseSelectAction()

Render "select a database"

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

showDefaultConfigurationAction()

Show last "create empty site / install distribution"

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

showEnvironmentAndFoldersAction()

Render "environment and folders"

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

showInstallerNotAvailableAction()

Render "FIRST_INSTALL file need to exist" view

public showInstallerNotAvailableAction() : ResponseInterface
Return values
ResponseInterface

createContentSecurityPolicy()

Using fixed Content-Security-Policy for Admin Tool (extensions and database might not be available)

protected createContentSecurityPolicy() : Policy
Return values
Policy

        
On this page

Search results