TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Install\Controller\StepController Class Reference
Inheritance diagram for TYPO3\CMS\Install\Controller\StepController:
TYPO3\CMS\Install\Controller\AbstractController

Public Member Functions

 execute ()
 

Protected Member Functions

 executeSpecificStep ()
 
 outputSpecificStep ()
 
 redirectToTool ()
 
- Protected Member Functions inherited from TYPO3\CMS\Install\Controller\AbstractController
 checkSessionLifetime ()
 
 outputLoginFormIfNotAuthorized ()
 
 addSessionMessages (array $messages)
 
 isDbalEnabled ()
 
 validateAuthenticationAction ($action)
 
 getAction ()
 
 getPostValues ()
 
 redirect ($controller='', $action='')
 
 output ($content='')
 
 getSenderEmailAddress ()
 
 getSenderEmailName ()
 

Protected Attributes

 $authenticationActions
 
- Protected Attributes inherited from TYPO3\CMS\Install\Controller\AbstractController
 $objectManager = null
 
 $session = null
 
 $authenticationActions = []
 

Detailed Description

Install step controller, dispatcher class of step actions.

Definition at line 23 of file StepController.php.

Member Function Documentation

◆ execute()

TYPO3\CMS\Install\Controller\StepController::execute ( )

Index action acts as a dispatcher to different steps

Warning: Order of these methods is security relevant and interferes with different access conditions (new/existing installation). See the single method comments for details.

Exceptions
Exception
Returns
void

Definition at line 45 of file StepController.php.

References TYPO3\CMS\Install\Controller\AbstractController\checkSessionLifetime(), TYPO3\CMS\Install\Controller\StepController\executeSpecificStep(), TYPO3\CMS\Install\Controller\AbstractController\outputLoginFormIfNotAuthorized(), TYPO3\CMS\Install\Controller\StepController\outputSpecificStep(), and TYPO3\CMS\Install\Controller\StepController\redirectToTool().

◆ executeSpecificStep()

TYPO3\CMS\Install\Controller\StepController::executeSpecificStep ( )
protected

Execute a step action if requested. If executed, a redirect is done, so the next request will render step one again if needed or initiate a request to test the next step.

Exceptions
Exception
Returns
void

Definition at line 74 of file StepController.php.

References TYPO3\CMS\Install\Controller\AbstractController\addSessionMessages(), TYPO3\CMS\Install\Controller\AbstractController\getAction(), TYPO3\CMS\Install\Controller\AbstractController\getPostValues(), and TYPO3\CMS\Install\Controller\AbstractController\redirect().

Referenced by TYPO3\CMS\Install\Controller\StepController\execute().

◆ outputSpecificStep()

TYPO3\CMS\Install\Controller\StepController::outputSpecificStep ( )
protected

Render a specific step. Fallback to first step if none is given. The according step is instantiated and 'needsExecution' is called. If it needs execution, the step will be rendered, otherwise a redirect to test the next step is initiated.

Returns
void

Definition at line 97 of file StepController.php.

References TYPO3\CMS\Install\Controller\StepController\$authenticationActions, TYPO3\CMS\Install\Controller\AbstractController\getAction(), TYPO3\CMS\Install\Controller\AbstractController\getPostValues(), TYPO3\CMS\Install\Controller\AbstractController\output(), TYPO3\CMS\Install\Controller\AbstractController\redirect(), and TYPO3\CMS\Install\Controller\AbstractController\validateAuthenticationAction().

Referenced by TYPO3\CMS\Install\Controller\StepController\execute().

◆ redirectToTool()

TYPO3\CMS\Install\Controller\StepController::redirectToTool ( )
protected

Member Data Documentation

◆ $authenticationActions

TYPO3\CMS\Install\Controller\StepController::$authenticationActions
protected
Initial value:
= [
'environmentAndFolders',
'databaseConnect',
'databaseSelect',
'databaseData',
'defaultConfiguration',
]

Definition at line 28 of file StepController.php.

Referenced by TYPO3\CMS\Install\Controller\StepController\outputSpecificStep().