[TYPO3-dev] Manipulating languages
tapio
tapio.markula at dnainternet.net
Wed Jan 25 13:34:59 CET 2006
tapio wrote:
> Dmitry Dulepov wrote:
>
>> Hi!
>>
>> tapio wrote:
>>
>>> 1) I what variable is stored the language
>>> of the BE interface
>>
>>
>>
>> Probably, somewhere in BE_USER. Why you actually need it? Probably, you
>> go wrong way, you should not care about it.
>
>
> For frontend editing. Titles and button text should be depending on the
> language of the BE interface, which the BE-user has been set for him/her.
> I tried to find $GLOBALS - but I didn't.
>
> [_REQUEST][fe_typo_user] - not the language.
I found '$GLOBALS['BE_USER']'
BUT it is
ux_t3lib_tsfeBeUserAuth Object
then for example
print_r($GLOBALS['BE_USER']['langSplitIndex']);
Fatal error: Cannot use object of type ux_t3lib_tsfeBeUserAuth as array
in
/var/www/customers/tyouupumuskeskus/public_html/typo3conf/ext/tm_contentaccess/class.ux_tslib_cobj.php
on line 8
How to use those kinds of objects?
More information about the TYPO3-dev
mailing list