TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ActionInterface Interface Reference
Inheritance diagram for ActionInterface:
AbstractAction AbstractAjaxAction FirstInstallAction InstallToolDisabledAction InstallToolPasswordNotSetAction LoginForm AbstractStepAction About AllConfiguration CleanUp Configuration FolderStructure ImportantActions LoadExtensions SystemEnvironment TestSetup UpgradeAnalysis UpgradeWizard

Public Member Functions

 handle ()
 
 setToken ($token)
 
 setController ($controller)
 
 setAction ($action)
 
 setPostValues (array $postValues)
 
 setLastError (array $lastError)
 
 setMessages (array $messages=[])
 

Detailed Description

General action interface

Definition at line 20 of file ActionInterface.php.

Member Function Documentation

handle ( )

Handle this action

Returns
string Rendered content

Implemented in AbstractAction, and AbstractAjaxAction.

setAction (   $action)

Set action name. This is usually similar to the class name, only for loginForm, the action is login

Parameters
string$actionName of target action for forms
Returns
void

Implemented in AbstractAction.

setController (   $controller)

Set controller, Either string 'step', 'tool' or 'common'

Parameters
string$controllerController name
Returns
void

Implemented in AbstractAction.

setLastError ( array  $lastError)

Set the last error array as returned by error_get_last()

Parameters
array$lastError

Implemented in AbstractAction.

setMessages ( array  $messages = [])

Status messages from controller

Parameters
array<TYPO3> $messages

Implemented in AbstractAction.

setPostValues ( array  $postValues)

Set POST values

Parameters
array$postValuesList of values submitted via POST
Returns
void

Implemented in AbstractAction.

setToken (   $token)

Set form protection token

Parameters
string$tokenForm protection token
Returns
void

Implemented in AbstractAction.