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

Public Member Functions

 __construct ($classLoader)
 
 run (callable $execute=null)
 

Protected Member Functions

 defineLegacyConstants ()
 
 defineAdditionalEntryPointRelatedConstants ()
 

Protected Attributes

 $bootstrap
 
 $entryPointPath = 'typo3/'
 
 $request
 
 $availableRequestHandlers
 

Detailed Description

Entry point for the TYPO3 Backend (HTTP requests)

Definition at line 23 of file typo3/sysext/backend/Classes/Http/Application.php.

Constructor & Destructor Documentation

__construct (   $classLoader)

Constructor setting up legacy constant and register available Request Handlers

Parameters
\Composer\Autoload\ClassLoader$classLoaderan instance of the class loader

Definition at line 55 of file typo3/sysext/backend/Classes/Http/Application.php.

References $GLOBALS, Application\defineAdditionalEntryPointRelatedConstants(), Application\defineLegacyConstants(), elseif, and Bootstrap\getInstance().

Member Function Documentation

defineAdditionalEntryPointRelatedConstants ( )
protected

Define values that are based on the current script

Definition at line 114 of file typo3/sysext/backend/Classes/Http/Application.php.

References $GLOBALS, GeneralUtility\_GET(), elseif, and GeneralUtility\getIndpEnv().

Referenced by Application\__construct().

defineLegacyConstants ( )
protected

Define constants and variables

Definition at line 106 of file typo3/sysext/backend/Classes/Http/Application.php.

Referenced by Application\__construct().

run ( callable  $execute = null)

Set up the application and shut it down afterwards

Parameters
callable$execute
Returns
void

Implements ApplicationInterface.

Definition at line 92 of file typo3/sysext/backend/Classes/Http/Application.php.

Member Data Documentation

$availableRequestHandlers
protected
Initial value:
= array(
\TYPO3\CMS\Backend\Http\RequestHandler::class,
\TYPO3\CMS\Backend\Http\BackendModuleRequestHandler::class,
\TYPO3\CMS\Backend\Http\AjaxRequestHandler::class
)

Definition at line 44 of file typo3/sysext/backend/Classes/Http/Application.php.

$bootstrap
protected
$entryPointPath = 'typo3/'
protected
$request
protected