TYPO3 CMS  TYPO3_6-2
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 = array()
 

Detailed Description

Install step controller, dispatcher class of step actions.

Definition at line 22 of file StepController.php.

Member Function Documentation

◆ execute()

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

Index action acts a 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 44 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 72 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 94 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()

Member Data Documentation

◆ $authenticationActions

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

Definition at line 27 of file StepController.php.

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