No subject
Mon Nov 23 20:10:05 CET 2009
lang.php
Contains the TYPO3 Backend Language class
For detailed information about how localization is handled,
please refer to the 'Inside TYPO3' document which descibes this.
This class is normally instantiated as the global variable $LANG in typo3/template.php
It's only available in the backend and under certain circumstances in the frontend
Filesize: 18.4 K
Func/Classes: 13
Tags: @author Kasper Skaarhoj <kasperYYYY at typo3.com>
@package TYPO3
@subpackage core
@see typo3/template.php, template
class language
Contains the TYPO3 Backend Language class
For detailed information about how localization is handled,
please refer to the 'Inside TYPO3' document which descibes this.
This class is normally instantiated as the global variable $LANG in typo3/template.php
It's only available in the backend and under certain circumstances in the frontend
Returns: [type] ...
@author Kasper Skaarhoj <kasperYYYY at typo3.com>
@package TYPO3
@subpackage core
@see typo3/template.php, template
function init($lang,$altPath='')
Initializes the backend language.
This is for example done in typo3/template.php with lines like these:
require (PATH_typo3.'sysext/lang/lang.php');
$LANG = t3lib_div::makeInstance('language');
$LANG->init($BE_USER->uc['lang']);
$lang string The language key (two character string from backend users profile)
$altPath='' string IGNORE. Not used.
Returns: void
More information about the TYPO3-dev
mailing list