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

Public Member Functions

 execute ()
 

Protected Member Functions

 outputInstallToolNotEnabledMessageIfNeeded ()
 
 checkInstallToolPasswordNotSet ()
 
 checkLogin ()
 
 handleSessionTokenCheck ($tokenOk)
 
 handleSessionLifeTimeExpired ()
 
 output ($content= '')
 
- 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

 $unauthorized = 'unauthorized'
 
 $authenticationActions
 
- Protected Attributes inherited from AbstractController
 $objectManager = null
 
 $session = null
 
 $authenticationActions = array()
 

Detailed Description

Install tool ajax controller, handles ajax requests

Definition at line 21 of file install/Classes/Controller/AjaxController.php.

Member Function Documentation

checkInstallToolPasswordNotSet ( )
protected

Check if the install tool password is set

Returns
void

Definition at line 84 of file install/Classes/Controller/AjaxController.php.

References $GLOBALS, and AjaxController\output().

Referenced by AjaxController\execute().

checkLogin ( )
protected

Check login status

Returns
void

Definition at line 96 of file install/Classes/Controller/AjaxController.php.

References AjaxController\output().

Referenced by AjaxController\execute().

execute ( )
handleSessionLifeTimeExpired ( )
protected

Overwrites abstract method In contrast to abstract method, a response "you are not authorized is outputted"

Returns
void

Definition at line 125 of file install/Classes/Controller/AjaxController.php.

References AjaxController\output().

handleSessionTokenCheck (   $tokenOk)
protected

Overwrites abstract method In contrast to abstract method, a response "you are not authorized is outputted"

Parameters
bool$tokenOk
Returns
void

Definition at line 112 of file install/Classes/Controller/AjaxController.php.

References AjaxController\output().

output (   $content = '')
protected
outputInstallToolNotEnabledMessageIfNeeded ( )
protected

Check whether the install tool is enabled

Returns
void

Definition at line 72 of file install/Classes/Controller/AjaxController.php.

References AjaxController\output().

Referenced by AjaxController\execute().

Member Data Documentation

$authenticationActions
protected
Initial value:
= array(
'extensionCompatibilityTester',
'uninstallExtension',
'clearCache',
'coreUpdateUpdateVersionMatrix',
'coreUpdateIsUpdateAvailable',
'coreUpdateCheckPreConditions',
'coreUpdateDownload',
'coreUpdateVerifyChecksum',
'coreUpdateUnpack',
'coreUpdateMove',
'coreUpdateActivate',
'folderStatus',
'environmentStatus'
)

Definition at line 31 of file install/Classes/Controller/AjaxController.php.

$unauthorized = 'unauthorized'
protected