TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Install\Controller\AjaxController Class Reference
Inheritance diagram for TYPO3\CMS\Install\Controller\AjaxController:
TYPO3\CMS\Install\Controller\AbstractController

Public Member Functions

 execute ()
 

Protected Member Functions

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

 $unauthorized = 'unauthorized'
 
 $authenticationActions
 
- Protected Attributes inherited from TYPO3\CMS\Install\Controller\AbstractController
 $objectManager = NULL
 
 $session = NULL
 
 $authenticationActions = array()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Install tool ajax controller, handles ajax requests

Definition at line 21 of file AjaxController.php.

Member Function Documentation

◆ checkInstallToolPasswordNotSet()

TYPO3\CMS\Install\Controller\AjaxController::checkInstallToolPasswordNotSet ( )
protected

Check if the install tool password is set

Returns
void

Definition at line 82 of file AjaxController.php.

References $GLOBALS, and TYPO3\CMS\Install\Controller\AjaxController\output().

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

◆ checkLogin()

TYPO3\CMS\Install\Controller\AjaxController::checkLogin ( )
protected

Check login status

Returns
void

Definition at line 93 of file AjaxController.php.

References TYPO3\CMS\Install\Controller\AjaxController\output().

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

◆ execute()

◆ handleSessionLifeTimeExpired()

TYPO3\CMS\Install\Controller\AjaxController::handleSessionLifeTimeExpired ( )
protected

◆ handleSessionTokenCheck()

TYPO3\CMS\Install\Controller\AjaxController::handleSessionTokenCheck (   $tokenOk)
protected

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

Parameters
boolean$tokenOk
Returns
void

Definition at line 108 of file AjaxController.php.

References TYPO3\CMS\Install\Controller\AjaxController\output().

◆ output()

TYPO3\CMS\Install\Controller\AjaxController::output (   $content = '')
protected

◆ outputInstallToolNotEnabledMessageIfNeeded()

TYPO3\CMS\Install\Controller\AjaxController::outputInstallToolNotEnabledMessageIfNeeded ( )
protected

Check whether the install tool is enabled

Returns
void

Definition at line 71 of file AjaxController.php.

References TYPO3\CMS\Install\Controller\AjaxController\output().

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

Member Data Documentation

◆ $authenticationActions

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

Definition at line 31 of file AjaxController.php.

◆ $unauthorized

TYPO3\CMS\Install\Controller\AjaxController::$unauthorized = 'unauthorized'
protected

Definition at line 26 of file AjaxController.php.