InstallerController uses ControllerTrait
Install step controller, dispatcher class of step actions.
This class is a specific controller implementation and is not considered part of the Public TYPO3 API.
Tags
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
ResponseInterfacecheckDatabaseDataAction()
Check if initial data needs to be imported
public
checkDatabaseDataAction() : ResponseInterface
Return values
ResponseInterfacecheckDatabaseRequirementsAction()
Pre-check whether all requirements for the installed database driver and platform are fulfilled
public
checkDatabaseRequirementsAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacecheckDatabaseSelectAction()
Check if a database needs to be selected
public
checkDatabaseSelectAction() : ResponseInterface
Return values
ResponseInterfacecheckEnvironmentAndFoldersAction()
Check if "environment and folders" should be shown
public
checkEnvironmentAndFoldersAction() : ResponseInterface
Return values
ResponseInterfacecheckTrustedHostsPatternAction()
Check if trusted hosts pattern needs to be adjusted
public
checkTrustedHostsPatternAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceexecuteAdjustTrustedHostsPatternAction()
Adjust trusted hosts pattern to '.*' if it does not match yet
public
executeAdjustTrustedHostsPatternAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceexecuteDatabaseConnectAction()
Test database connect data
public
executeDatabaseConnectAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceexecuteDatabaseDataAction()
Create main db layout
public
executeDatabaseDataAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceexecuteDatabaseSelectAction()
Select / create and test a database
public
executeDatabaseSelectAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceexecuteDefaultConfigurationAction()
Last step execution: clean up, remove FIRST_INSTALL file, .
public
executeDefaultConfigurationAction(ServerRequestInterface $request) : ResponseInterface
..
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceexecuteEnvironmentAndFoldersAction()
Create main folder layout, LocalConfiguration, PackageStates
public
executeEnvironmentAndFoldersAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceinitAction()
Init action loads <head> with JS initiating further stuff
public
initAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacemainLayoutAction()
Main layout with progress bar, header
public
mainLayoutAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceshowDatabaseConnectAction()
Show database connect step
public
showDatabaseConnectAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceshowDatabaseDataAction()
Render "import initial data"
public
showDatabaseDataAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceshowDatabaseSelectAction()
Render "select a database"
public
showDatabaseSelectAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceshowDefaultConfigurationAction()
Show last "create empty site / install distribution"
public
showDefaultConfigurationAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceshowEnvironmentAndFoldersAction()
Render "environment and folders"
public
showEnvironmentAndFoldersAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceshowInstallerNotAvailableAction()
Render "FIRST_INSTALL file need to exist" view
public
showInstallerNotAvailableAction() : ResponseInterface
Return values
ResponseInterfacecreateContentSecurityPolicy()
Using fixed Content-Security-Policy for Admin Tool (extensions and database might not be available)
protected
createContentSecurityPolicy() : Policy
Return values
PolicyinitializeView()
Helper method to initialize a standalone view instance.
protected
initializeView() : ViewInterface