[TYPO3-dev] Question on using $LANG in the extension manager
Steffen Kamper
info at sk-typo3.de
Sun Jun 28 21:42:48 CEST 2009
Hi,
Christopher Stelmaszyk schrieb:
> Hi Steffen,
>
> "Steffen Kamper" <info at sk-typo3.de> schrieb im Newsbeitrag
> news:mailman.1.1246215578.27635.typo3-dev at lists.netfielders.de...
>> Hi,
>>
>> because it's the header of a class (only var - devlaration). You can do
>> such in init()
>
> No, I get the same error there, too.
> I have copied the block with the var ..... declarations I want to change
> into the function init().
> How should it work?
>
then you did something wrong.
This is the way how it works in init():
$this->categories['BE'] = $LANG->getLL('backend');
vg Steffen
More information about the TYPO3-dev
mailing list