TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StepController Class Reference
Inheritance diagram for StepController:
AbstractController

Public Member Functions

 execute ()
 

Protected Member Functions

 executeSpecificStep ()
 
 outputSpecificStep ()
 
 redirectToTool ()
 
- Protected Member Functions inherited from 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 AbstractController
 $objectManager = null
 
 $session = null
 
 $authenticationActions = array()
 

Detailed Description

Install step controller, dispatcher class of step actions.

Definition at line 23 of file StepController.php.

Member Function Documentation

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 AbstractController\checkSessionLifetime(), StepController\executeSpecificStep(), AbstractController\outputLoginFormIfNotAuthorized(), StepController\outputSpecificStep(), and StepController\redirectToTool().

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 AbstractController\addSessionMessages(), AbstractController\getAction(), AbstractController\getPostValues(), and AbstractController\redirect().

Referenced by StepController\execute().

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 StepController\$authenticationActions, AbstractController\getAction(), AbstractController\getPostValues(), AbstractController\output(), and AbstractController\redirect().

Referenced by StepController\execute().

redirectToTool ( )
protected

If the last step was reached and none needs execution, a redirect to call the tool controller is initiated.

Returns
void

Definition at line 165 of file StepController.php.

References AbstractController\redirect().

Referenced by StepController\execute().

Member Data Documentation

$authenticationActions
protected
Initial value:
= array(
'environmentAndFolders',
'databaseConnect',
'databaseSelect',
'databaseData',
'defaultConfiguration',
)

Definition at line 28 of file StepController.php.

Referenced by StepController\outputSpecificStep().