Inside TYPO3
3.1.5. Other reserved global variables
In addition to the global variables declared in "init.php" there are a number of other reserved global variables which has a recognized importance. These are always defined outside "init.php" either prior to or after the inclusion of "init.php".
|
Global variable |
Defined in |
Description |
Avail. in FE |
|---|---|---|---|
|
$MLANG |
[prior to init.php / conf.php of modules] |
Contains a limited amount of language labels: The title, icon and description of the module. |
- |
|
$MCONF |
[prior to init.php / conf.php of modules] |
Contains a few module-cofiguration informations like the name, access and which script to use. Primarily used by access control and the class t3lib_loadmodules. |
- |
|
$BACK_PATH |
[prior to init.php / conf.php of modules] |
Possibly set in the parent script including "init.php" pointing back to the "TYPO3_mainDir" from wherever the parent script is located. Used primarily for images and links. See discussion on "TYPO3_MOD_PATH" and modules in general. |
- |
|
$LOCKED_RECORDS |
t3lib_BEfunc |
Locking of records is cached in this variable. |
|