$GLOBALS
See also
Most global variables described here can be viewed in module System > Configuration: Exploring global variables in array $GLOBALS
TYPO3_CONF_VARS
-
- Type
- array
- Path
- $GLOBALS
- Defined
typo3/sysext/ core/ Configuration/ Default Configuration. 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 Admin Tools > Settings > Configure Installation-Wide Options.
TCA
-
- Type
- array
- Path
- $GLOBALS
- Defined
\TYPO3\CMS\ Core\ Core\ Bootstrap:: load Extension Tables () - Frontend
- Yes, partly
See TCA Reference
T3_SERVICES
-
- Type
- array
- Path
- $GLOBALS
- Defined
\TYPO3\CMS\ Core\ Core\ System Environment Builder:: initialize Global Variables () - Frontend
- Yes
Global registration of services.
TYPO3_USER_SETTINGS
-
- Type
- array
- Path
- $GLOBALS
- Defined
typo3/sysext/ setup/ ext_ tables. php
Defines the form in the User Settings.
BE_USER
-
- Type
\TYPO3\CMS\ Core\ Authentication\ Backend User Authentication - Path
- $GLOBALS
- Defined
\TYPO3\CMS\ Core\ Core\ Bootstrap:: initialize Backend User () - Frontend
- (depends)
Backend user object. See Backend user object.
EXEC_TIME
-
- Type
- int
- Path
- $GLOBALS
- Defined
\TYPO3\CMS\ Core\ Core\ System Environment Builder:: initialize Global Time Tracking Variables () - Frontend
- yes
Is set to
timeso that the rest of the script has a common value for the script execution time.() Note
Should not be used anymore, rather use the DateTime Aspect.
SIM_EXEC_TIME
-
- Type
- int
- Path
- $GLOBALS
- Defined
\TYPO3\CMS\ Core\ Core\ System Environment Builder:: initialize Global Time Tracking Variables () - Frontend
- yes
Is set to
$GLOBALSbut 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)['EXEC_ TIME'] Note
Should not be used anymore, rather use the DateTime Aspect.
LANG
-
- Type
\TYPO3\CMS\ Core\ Localization\ Language Service - Path
- $GLOBALS
- Defined
- is initialized via
\TYPO3\CMS\ Core\ Localization\ Language Service Factory - Frontend
- no
Attention
It is discouraged to use this variable directly. The
Languageshould be used instead to retrieve theService Factory Language.Service The
Languagecan be used to fetch translations.Service More information about retrieving the
Languageis available in Localization in PHP.Service