$GLOBALS 

TYPO3_CONF_VARS

TYPO3_CONF_VARS
Type
array
Path
$GLOBALS
Defined
typo3/sysext/core/Configuration/DefaultConfiguration.php
Frontend
yes

TYPO3 configuration array. Please refer to the chapter System configuration and the global settings.php where each option is described in detail.

Most values in this array can be accessed through the tool System > Settings > Configure Installation-Wide Options.

TCA

TCA
Type
array
Path
$GLOBALS
Defined
\TYPO3\CMS\Core\Core\Bootstrap::loadExtensionTables()
Frontend
Yes, partly

T3_SERVICES

T3_SERVICES
Type
array
Path
$GLOBALS
Defined
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::initializeGlobalVariables()
Frontend
Yes

Global registration of services.

TYPO3_USER_SETTINGS

TYPO3_USER_SETTINGS
Type
array
Path
$GLOBALS
Defined
typo3/sysext/setup/ext_tables.php

Defines the form in the User Settings.

PAGES_TYPES

PAGES_TYPES
Type
array
Path
$GLOBALS
Defined
typo3/sysext/core/ext_tables.php
Frontend
(occasionally)

$GLOBALS['PAGES_TYPES'] defines the various types of pages ( doktype) the system can handle and what restrictions may apply to them.

Here you can define which tables are allowed on a certain page types ( doktype).

The default configuration applies if the page type is not defined otherwise.

BE_USER

BE_USER
Type
\TYPO3\CMS\Core\Authentication\BackendUserAuthentication
Path
$GLOBALS
Defined
\TYPO3\CMS\Core\Core\Bootstrap::initializeBackendUser()
Frontend
(depends)

Backend user object. See Backend user object.

EXEC_TIME

EXEC_TIME
Type
int
Path
$GLOBALS
Defined
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::initializeGlobalTimeTrackingVariables()
Frontend
yes

Is set to time() so that the rest of the script has a common value for the script execution time.

SIM_EXEC_TIME

SIM_EXEC_TIME
Type
int
Path
$GLOBALS
Defined
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::initializeGlobalTimeTrackingVariables()
Frontend
yes

Is set to $GLOBALS['EXEC_TIME'] but can be altered later in the script if we want to simulate another execution-time when selecting from e.g. a database (used in the frontend for preview of future and past dates)

LANG

LANG
Type
\TYPO3\CMS\Core\Localization\TranslatorInterface
Path
$GLOBALS
Defined
is initialized via LanguageServiceFactory
Frontend
no

The TranslatorInterface can be used to fetch translations.

More information about retrieving the TranslatorInterface is available in Localization in PHP.