TYPO3 CMS  TYPO3_8-7
TYPO3\CMS\Core\Core\Bootstrap Class Reference

Public Member Functions

 getRequestId ()
 
 getApplicationContext ()
 
 startOutputBuffering ()
 
 configure ()
 
 baseSetup ($entryPointLevel=0)
 
 initializeClassLoader ($classLoader)
 
 checkIfEssentialConfigurationExists ()
 
 redirectToInstallTool ($entryPointLevel=0)
 
 registerRequestHandlerImplementation ($requestHandler)
 
 handleRequest ($request)
 
 setEarlyInstance ($objectName, $instance)
 
 getEarlyInstance ($objectName)
 
 getEarlyInstances ()
 
 loadConfigurationAndInitialize ($allowCaching=true, $packageManagerClassName=\TYPO3\CMS\Core\Package\PackageManager::class)
 
 ensureClassLoadingInformationExists ()
 
 loadTypo3LoadedExtAndExtLocalconf ($allowCaching=true)
 
 populateLocalConfiguration ()
 
 disableCoreCache ()
 
 initializeCachingFramework ()
 
 setRequestType ($requestType)
 
 setFinalCachingFrameworkCacheConfiguration ()
 
 defineLoggingAndExceptionConstants ()
 
 unsetReservedGlobalVariables ()
 
 checkLockedBackendAndRedirectOrDie ($forceProceeding=false)
 
 checkBackendIpOrDie ()
 
 checkSslBackendAndRedirectIfNeeded ()
 
 loadExtensionTables ($allowCaching=true)
 
 loadBaseTca (bool $allowCaching=true)
 
 loadExtTables (bool $allowCaching=true)
 
 initializeBackendAuthentication ($proceedIfNoUserIsLoggedIn=false)
 
 endOutputBufferingAndCleanPreviousOutput ()
 
 initializeOutputCompression ()
 
 sendHttpHeaders ()
 
 shutdown ()
 
 initializeBackendTemplate ()
 

Static Public Member Functions

static usesComposerClassLoading ()
 
static getInstance ()
 

Protected Member Functions

 __construct ($applicationContext)
 
 __clone ()
 
 sendResponse ()
 
 defineUserAgentConstant ()
 
 registerExtDirectComponents ()
 
 setCacheHashOptions ()
 
 setDefaultTimezone ()
 
 initializeL10nLocales ()
 
 initializeErrorHandling ()
 
 initializeIO ()
 
 setMemoryLimit ()
 
 defineTypo3RequestTypes ()
 

Protected Attributes

 $requestId
 
 $applicationContext
 
 $earlyInstances = []
 
 $installToolPath
 
 $availableRequestHandlers = []
 
 $response
 

Static Protected Attributes

static $instance = null
 
static $usesComposerClassLoading = false
 

Detailed Description

This class encapsulates bootstrap related methods. It is required directly as the very first thing in entry scripts and used to define all base things like constants and paths and so on.

Most methods in this class have dependencies to each other. They can not be called in arbitrary order. The methods are ordered top down, so a method at the beginning has lower dependencies than a method further down. Do not fiddle with the load order in own scripts except you know exactly what you are doing!

Definition at line 36 of file Bootstrap.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Core\Bootstrap::__construct (   $applicationContext)
protected

Definition at line 91 of file Bootstrap.php.

References TYPO3\CMS\Core\Core\Bootstrap\$applicationContext.

Member Function Documentation

◆ __clone()

TYPO3\CMS\Core\Core\Bootstrap::__clone ( )
protected

Disable direct cloning of this object.

Definition at line 108 of file Bootstrap.php.

◆ baseSetup()

TYPO3\CMS\Core\Core\Bootstrap::baseSetup (   $entryPointLevel = 0)

Run the base setup that checks server environment, determines paths, populates base files and sets common configuration.

Script execution will be aborted if something fails here.

Parameters
int$entryPointLevelNumber of subdirectories where the entry script is located under the document root
Returns
Bootstrap
Exceptions

Definition at line 201 of file Bootstrap.php.

References TYPO3\CMS\Core\Core\ClassLoadingInformation\isClassLoadingInformationAvailable(), TYPO3\CMS\Core\Utility\GeneralUtility\presetApplicationContext(), TYPO3\CMS\Core\Core\ClassLoadingInformation\registerClassLoadingInformation(), and TYPO3\CMS\Core\Core\SystemEnvironmentBuilder\run().

◆ checkBackendIpOrDie()

TYPO3\CMS\Core\Core\Bootstrap::checkBackendIpOrDie ( )

Compare client IP with IPmaskList and exit the script run if the client is not allowed to access the backend

Returns
Bootstrap

Definition at line 901 of file Bootstrap.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\cmpIP(), and TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv().

◆ checkIfEssentialConfigurationExists()

TYPO3\CMS\Core\Core\Bootstrap::checkIfEssentialConfigurationExists ( )

checks if LocalConfiguration.php or PackageStates.php is missing, used to see if a redirect to the install tool is needed

Returns
bool TRUE when the essential configuration is available, otherwise FALSE

Definition at line 237 of file Bootstrap.php.

References TYPO3\CMS\Core\Core\Bootstrap\setEarlyInstance().

◆ checkLockedBackendAndRedirectOrDie()

TYPO3\CMS\Core\Core\Bootstrap::checkLockedBackendAndRedirectOrDie (   $forceProceeding = false)

Check adminOnly configuration variable and redirects to an URL in file typo3conf/LOCK_BACKEND or exit the script

Exceptions

Definition at line 876 of file Bootstrap.php.

References $GLOBALS.

◆ checkSslBackendAndRedirectIfNeeded()

TYPO3\CMS\Core\Core\Bootstrap::checkSslBackendAndRedirectIfNeeded ( )

Check lockSSL configuration variable and redirect to https version of the backend if needed

Returns
Bootstrap

Definition at line 919 of file Bootstrap.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv().

◆ configure()

TYPO3\CMS\Core\Core\Bootstrap::configure ( )

Main entry point called at every request usually from Global scope. Checks if everything is correct, and loads the Configuration.

Make sure that the baseSetup() is called before and the class loader is present

Returns
Bootstrap

Definition at line 172 of file Bootstrap.php.

References $GLOBALS, and TYPO3\CMS\Core\Core\Bootstrap\startOutputBuffering().

◆ defineLoggingAndExceptionConstants()

TYPO3\CMS\Core\Core\Bootstrap::defineLoggingAndExceptionConstants ( )

Define logging and exception constants

Returns
Bootstrap

Definition at line 764 of file Bootstrap.php.

References $GLOBALS.

◆ defineTypo3RequestTypes()

TYPO3\CMS\Core\Core\Bootstrap::defineTypo3RequestTypes ( )
protected

Define TYPO3_REQUESTTYPE* constants that can be used for developers to see if any context has been hit also see setRequestType(). Is done at the very beginning so these parameters are always available.

Returns
Bootstrap

Definition at line 721 of file Bootstrap.php.

◆ defineUserAgentConstant()

TYPO3\CMS\Core\Core\Bootstrap::defineUserAgentConstant ( )
protected

Define user agent constant

Returns

Definition at line 531 of file Bootstrap.php.

References $GLOBALS.

◆ disableCoreCache()

TYPO3\CMS\Core\Core\Bootstrap::disableCoreCache ( )

Set cache_core to null backend, effectively disabling eg. the cache for ext_localconf and PackageManager etc.

Returns

Definition at line 518 of file Bootstrap.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\Core\Bootstrap\loadConfigurationAndInitialize().

◆ endOutputBufferingAndCleanPreviousOutput()

TYPO3\CMS\Core\Core\Bootstrap::endOutputBufferingAndCleanPreviousOutput ( )

Throw away all output that may have happened during bootstrapping by weird extensions

Returns
Bootstrap

Definition at line 1118 of file Bootstrap.php.

◆ ensureClassLoadingInformationExists()

◆ getApplicationContext()

TYPO3\CMS\Core\Core\Bootstrap::getApplicationContext ( )

Returns the application context this bootstrap was started in.

Returns
The application context encapsulated in an object

Definition at line 146 of file Bootstrap.php.

References TYPO3\CMS\Core\Core\Bootstrap\$applicationContext.

◆ getEarlyInstance()

TYPO3\CMS\Core\Core\Bootstrap::getEarlyInstance (   $objectName)

◆ getEarlyInstances()

TYPO3\CMS\Core\Core\Bootstrap::getEarlyInstances ( )

Returns all registered early instances indexed by object name

Returns
array

Definition at line 385 of file Bootstrap.php.

References TYPO3\CMS\Core\Core\Bootstrap\$earlyInstances.

◆ getInstance()

static TYPO3\CMS\Core\Core\Bootstrap::getInstance ( )
static

Return 'this' as singleton

Returns
Bootstrap

Definition at line 118 of file Bootstrap.php.

References TYPO3\CMS\Core\Core\Bootstrap\$applicationContext.

Referenced by TYPO3\CMS\Install\Http\Application\__construct(), TYPO3\CMS\Frontend\Http\Application\__construct(), TYPO3\CMS\Core\Console\CommandApplication\__construct(), TYPO3\CMS\Backend\Console\Application\__construct(), TYPO3\CMS\Backend\Http\Application\__construct(), TYPO3\CMS\Core\Log\LogRecord\__construct(), TYPO3\CMS\Core\Package\DependencyResolver\buildDependencyGraph(), TYPO3\CMS\Install\Service\ClearCacheService\clearAll(), TYPO3\CMS\Backend\Command\ReferenceIndexUpdateCommand\configure(), TYPO3\CMS\Lowlevel\Command\OrphanRecordsCommand\execute(), TYPO3\CMS\Lowlevel\Command\CleanFlexFormsCommand\execute(), TYPO3\CMS\Lowlevel\Command\DeletedRecordsCommand\execute(), TYPO3\CMS\Impexp\Command\ImportCommand\execute(), TYPO3\CMS\Scheduler\Command\SchedulerCommand\execute(), TYPO3\CMS\Lowlevel\Command\FilesWithMultipleReferencesCommand\execute(), TYPO3\CMS\Lowlevel\Command\MissingFilesCommand\execute(), TYPO3\CMS\Lowlevel\Command\RteImagesCommand\execute(), TYPO3\CMS\Lowlevel\Command\LostFilesCommand\execute(), TYPO3\CMS\Lowlevel\Command\MissingRelationsCommand\execute(), TYPO3\CMS\Lowlevel\Command\WorkspaceVersionRecordsCommand\execute(), TYPO3\CMS\Core\Core\ClassLoadingInformation\getClassLoader(), TYPO3\CMS\Core\Console\CommandRequestHandler\getCommandToRun(), TYPO3\CMS\Install\Service\EnableFileService\isFirstInstallAllowed(), TYPO3\CMS\Core\Core\ClassLoadingInformation\isTestingContext(), TYPO3\CMS\Install\Controller\Action\AbstractAction\loadExtLocalconfDatabaseAndExtTables(), TYPO3\CMS\Install\Controller\StepController\redirectToTool(), TYPO3\CMS\Extensionmanager\Utility\InstallUtility\reloadCaches(), TYPO3\CMS\Workspaces\Tests\Functional\ActionHandler\ActionHandlerTest\setUp(), TYPO3\CMS\Backend\Tests\Functional\Domain\Repository\Localization\LocalizationRepositoryTest\setUp(), TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest\setUp(), TYPO3\CMS\Recycler\Tests\Functional\Recycle\AbstractRecycleTestCase\setUp(), TYPO3\CMS\Backend\Tests\Functional\Controller\FormInlineAjaxControllerTest\setUp(), TYPO3\CMS\Core\Tests\Functional\Database\DatabaseConnectionTest\setUp(), TYPO3\CMS\Core\Tests\Functional\Database\PreparedStatementTest\setUp(), TYPO3\CMS\Backend\Tests\Functional\Controller\Page\LocalizationControllerTest\setUp(), TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase\setUp(), TYPO3\CMS\Form\Tests\Functional\Hooks\FormFileExtensionUpdateTest\setUp(), TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\setUp(), and TYPO3\CMS\Core\Tests\Functional\Log\Writer\DatabaseWriterTest\writeLogInsertsLogRecordWithGivenProperties().

◆ getRequestId()

TYPO3\CMS\Core\Core\Bootstrap::getRequestId ( )

Gets the request's unique ID

Returns
string Unique request ID

Definition at line 134 of file Bootstrap.php.

References TYPO3\CMS\Core\Core\Bootstrap\$requestId.

◆ handleRequest()

TYPO3\CMS\Extbase\Core\Bootstrap::handleRequest (   $request)

Builds a Request instance from the current process, and then resolves the request through the request handlers depending on Frontend, Backend, CLI etc.

Parameters
\Psr\Http\Message\RequestInterface | \Symfony\Component\Console\Input\InputInterface$request
Returns
Bootstrap
Exceptions

Definition at line 313 of file Bootstrap.php.

◆ initializeBackendAuthentication()

TYPO3\CMS\Core\Core\Bootstrap::initializeBackendAuthentication (   $proceedIfNoUserIsLoggedIn = false)

Initializes and ensures authenticated access

Definition at line 1092 of file Bootstrap.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ initializeBackendTemplate()

TYPO3\CMS\Core\Core\Bootstrap::initializeBackendTemplate ( )

Provides an instance of "template" for backend-modules to work with.

Returns
Bootstrap

Definition at line 1178 of file Bootstrap.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ initializeCachingFramework()

TYPO3\CMS\Core\Core\Bootstrap::initializeCachingFramework ( )

Initialize caching framework, and re-initializes it (e.g. in the install tool) by recreating the instances again despite the Singleton instance

Returns
Bootstrap

Definition at line 564 of file Bootstrap.php.

References $GLOBALS, TYPO3\CMS\Core\Core\Bootstrap\setEarlyInstance(), and TYPO3\CMS\Core\Utility\GeneralUtility\setSingletonInstance().

Referenced by TYPO3\CMS\Core\Core\Bootstrap\loadConfigurationAndInitialize().

◆ initializeClassLoader()

TYPO3\CMS\Core\Core\Bootstrap::initializeClassLoader (   $classLoader)

Sets the class loader to the bootstrap

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

Definition at line 221 of file Bootstrap.php.

References TYPO3\CMS\Core\Core\Bootstrap\setEarlyInstance().

◆ initializeErrorHandling()

TYPO3\CMS\Core\Core\Bootstrap::initializeErrorHandling ( )
protected

Configure and set up exception and error handling

Returns
Bootstrap
Exceptions

Definition at line 632 of file Bootstrap.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\cmpIP(), TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ initializeIO()

TYPO3\CMS\Core\Core\Bootstrap::initializeIO ( )
protected

Initializes IO and stream wrapper related behavior.

Definition at line 686 of file Bootstrap.php.

◆ initializeL10nLocales()

TYPO3\CMS\Core\Core\Bootstrap::initializeL10nLocales ( )
protected

Initialize the locales handled by TYPO3

Returns
Bootstrap

Definition at line 620 of file Bootstrap.php.

◆ initializeOutputCompression()

TYPO3\CMS\Core\Core\Bootstrap::initializeOutputCompression ( )

Initialize output compression if configured

Returns
Bootstrap

Definition at line 1130 of file Bootstrap.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger().

◆ loadBaseTca()

TYPO3\CMS\Core\Core\Bootstrap::loadBaseTca ( bool  $allowCaching = true)

Load $TCA

This will mainly set up $TCA through extMgm API.

Parameters
bool$allowCachingTrue, if loading TCA from cache is allowed
Returns
Bootstrap

Definition at line 964 of file Bootstrap.php.

Referenced by TYPO3\CMS\Core\Core\Bootstrap\loadExtensionTables().

◆ loadConfigurationAndInitialize()

TYPO3\CMS\Core\Core\Bootstrap::loadConfigurationAndInitialize (   $allowCaching = true,
  $packageManagerClassName = \TYPO3\CMS\Core\Package\PackageManager::class 
)

Includes LocalConfiguration.php and sets several global settings depending on configuration.

Parameters
bool$allowCachingWhether to allow caching - affects cache_core (autoloader)
string$packageManagerClassNameDefine an alternative package manager implementation (usually for the installer)
Returns
Bootstrap

Definition at line 399 of file Bootstrap.php.

References TYPO3\CMS\Core\Core\Bootstrap\disableCoreCache(), TYPO3\CMS\Core\Core\Bootstrap\ensureClassLoadingInformationExists(), TYPO3\CMS\Core\Core\Bootstrap\getEarlyInstance(), TYPO3\CMS\Core\Core\Bootstrap\initializeCachingFramework(), TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Core\Core\Bootstrap\populateLocalConfiguration(), TYPO3\CMS\Core\Core\Bootstrap\setEarlyInstance(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\setPackageManager(), and TYPO3\CMS\Core\Utility\GeneralUtility\setSingletonInstance().

◆ loadExtensionTables()

TYPO3\CMS\Core\Core\Bootstrap::loadExtensionTables (   $allowCaching = true)

Load ext_tables and friends.

This will mainly set up $TCA and several other global arrays through API's like extMgm. Executes ext_tables.php files of loaded extensions or the according cache file if exists.

Parameters
bool$allowCachingTrue, if reading compiled ext_tables file from cache is allowed
Returns
Bootstrap

Definition at line 948 of file Bootstrap.php.

References TYPO3\CMS\Core\Core\Bootstrap\loadBaseTca(), and TYPO3\CMS\Core\Utility\GeneralUtility\logDeprecatedFunction().

◆ loadExtTables()

TYPO3\CMS\Core\Core\Bootstrap::loadExtTables ( bool  $allowCaching = true)

Load ext_tables and friends.

This will mainly load and execute ext_tables.php files of loaded extensions or the according cache file if exists.

Parameters
bool$allowCachingTrue, if reading compiled ext_tables file from cache is allowed
Returns
Bootstrap

Definition at line 980 of file Bootstrap.php.

References $GLOBALS, TYPO3\CMS\Core\Core\Bootstrap\getEarlyInstance(), TYPO3\CMS\Core\Utility\GeneralUtility\getUserObj(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ loadTypo3LoadedExtAndExtLocalconf()

TYPO3\CMS\Core\Core\Bootstrap::loadTypo3LoadedExtAndExtLocalconf (   $allowCaching = true)

Load ext_localconf of extensions

Parameters
bool$allowCaching
Returns
Bootstrap

Definition at line 487 of file Bootstrap.php.

◆ populateLocalConfiguration()

TYPO3\CMS\Core\Core\Bootstrap::populateLocalConfiguration ( )

We need an early instance of the configuration manager. Since makeInstance relies on the object configuration, we create it here with new instead.

Returns
Bootstrap

Definition at line 500 of file Bootstrap.php.

References TYPO3\CMS\Core\Core\Bootstrap\getEarlyInstance(), and TYPO3\CMS\Core\Core\Bootstrap\setEarlyInstance().

Referenced by TYPO3\CMS\Core\Core\Bootstrap\loadConfigurationAndInitialize().

◆ redirectToInstallTool()

TYPO3\CMS\Core\Core\Bootstrap::redirectToInstallTool (   $entryPointLevel = 0)

Redirect to install tool if LocalConfiguration.php is missing.

Parameters
int$entryPointLevelNumber of subdirectories where the entry script is located under the document root

Definition at line 250 of file Bootstrap.php.

◆ registerExtDirectComponents()

TYPO3\CMS\Core\Core\Bootstrap::registerExtDirectComponents ( )
protected

Register default ExtDirect components

Returns
Bootstrap

Definition at line 542 of file Bootstrap.php.

References TYPO3\CMS\Core\Utility\ExtensionManagementUtility\registerExtDirectComponent().

◆ registerRequestHandlerImplementation()

TYPO3\CMS\Core\Core\Bootstrap::registerRequestHandlerImplementation (   $requestHandler)

Adds available request handlers usually done via an application from the outside.

Parameters
string$requestHandlerclass which implements the request handler interface
Returns
Bootstrap

Definition at line 267 of file Bootstrap.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ sendHttpHeaders()

TYPO3\CMS\Core\Core\Bootstrap::sendHttpHeaders ( )

Send HTTP headers if configured

Returns
Bootstrap

Definition at line 1147 of file Bootstrap.php.

References $GLOBALS.

◆ sendResponse()

TYPO3\CMS\Core\Core\Bootstrap::sendResponse ( )
protected

Outputs content if there is a proper Response object.

Returns
Bootstrap

Definition at line 328 of file Bootstrap.php.

Referenced by TYPO3\CMS\Core\Core\Bootstrap\shutdown().

◆ setCacheHashOptions()

TYPO3\CMS\Core\Core\Bootstrap::setCacheHashOptions ( )
protected

Set cacheHash options

Returns
Bootstrap

Definition at line 578 of file Bootstrap.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

◆ setDefaultTimezone()

TYPO3\CMS\Core\Core\Bootstrap::setDefaultTimezone ( )
protected

Set default timezone

Returns
Bootstrap

Definition at line 598 of file Bootstrap.php.

References $GLOBALS.

◆ setEarlyInstance()

TYPO3\CMS\Core\Core\Bootstrap::setEarlyInstance (   $objectName,
  $instance 
)

Registers the instance of the specified object for an early boot stage. On finalizing the Object Manager initialization, all those instances will be transferred to the Object Manager's registry.

Parameters
string$objectNameObject name, as later used by the Object Manager
object$instanceThe instance to register

Definition at line 358 of file Bootstrap.php.

References TYPO3\CMS\Core\Core\Bootstrap\$instance.

Referenced by TYPO3\CMS\Core\Core\Bootstrap\checkIfEssentialConfigurationExists(), TYPO3\CMS\Core\Core\Bootstrap\initializeCachingFramework(), TYPO3\CMS\Core\Core\Bootstrap\initializeClassLoader(), TYPO3\CMS\Core\Core\Bootstrap\loadConfigurationAndInitialize(), and TYPO3\CMS\Core\Core\Bootstrap\populateLocalConfiguration().

◆ setFinalCachingFrameworkCacheConfiguration()

TYPO3\CMS\Core\Core\Bootstrap::setFinalCachingFrameworkCacheConfiguration ( )

Extensions may register new caches, so we set the global cache array to the manager again at this point

Returns
Bootstrap

Definition at line 752 of file Bootstrap.php.

References $GLOBALS, and TYPO3\CMS\Core\Core\Bootstrap\getEarlyInstance().

◆ setMemoryLimit()

TYPO3\CMS\Core\Core\Bootstrap::setMemoryLimit ( )
protected

Set PHP memory limit depending on value of $GLOBALS['TYPO3_CONF_VARS']['SYS']['setMemoryLimit']

Returns
Bootstrap

Definition at line 707 of file Bootstrap.php.

References $GLOBALS.

◆ setRequestType()

TYPO3\CMS\Core\Core\Bootstrap::setRequestType (   $requestType)

Defines the TYPO3_REQUESTTYPE constant so the environment knows which context the request is running.

Exceptions

Definition at line 736 of file Bootstrap.php.

◆ shutdown()

TYPO3\CMS\Core\Core\Bootstrap::shutdown ( )

Things that should be performed to shut down the framework. This method is called in all important scripts for a clean shut down of the system.

Returns
Bootstrap

Definition at line 1165 of file Bootstrap.php.

References TYPO3\CMS\Core\Core\Bootstrap\sendResponse().

◆ startOutputBuffering()

TYPO3\CMS\Core\Core\Bootstrap::startOutputBuffering ( )

Prevent any unwanted output that may corrupt AJAX/compression. This does not interfere with "die()" or "echo"+"exit()" messages!

Returns
Bootstrap

Definition at line 158 of file Bootstrap.php.

Referenced by TYPO3\CMS\Core\Core\Bootstrap\configure().

◆ unsetReservedGlobalVariables()

TYPO3\CMS\Core\Core\Bootstrap::unsetReservedGlobalVariables ( )

Unsetting reserved global variables: Those are set in "ext:core/ext_tables.php" file:

Returns
Bootstrap

Definition at line 779 of file Bootstrap.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

◆ usesComposerClassLoading()

Member Data Documentation

◆ $applicationContext

TYPO3\CMS\Core\Core\Bootstrap::$applicationContext
protected

◆ $availableRequestHandlers

TYPO3\CMS\Core\Core\Bootstrap::$availableRequestHandlers = []
protected

Definition at line 71 of file Bootstrap.php.

◆ $earlyInstances

TYPO3\CMS\Core\Core\Bootstrap::$earlyInstances = []
protected

Definition at line 60 of file Bootstrap.php.

Referenced by TYPO3\CMS\Core\Core\Bootstrap\getEarlyInstances().

◆ $installToolPath

TYPO3\CMS\Core\Core\Bootstrap::$installToolPath
protected

Definition at line 65 of file Bootstrap.php.

◆ $instance

TYPO3\CMS\Core\Core\Bootstrap::$instance = null
staticprotected

Definition at line 41 of file Bootstrap.php.

Referenced by TYPO3\CMS\Core\Core\Bootstrap\setEarlyInstance().

◆ $requestId

TYPO3\CMS\Core\Core\Bootstrap::$requestId
protected

Definition at line 48 of file Bootstrap.php.

Referenced by TYPO3\CMS\Core\Core\Bootstrap\getRequestId().

◆ $response

TYPO3\CMS\Core\Core\Bootstrap::$response
protected

Definition at line 78 of file Bootstrap.php.

◆ $usesComposerClassLoading

TYPO3\CMS\Core\Core\Bootstrap::$usesComposerClassLoading = false
staticprotected

Definition at line 83 of file Bootstrap.php.