[TYPO3-dev] tslib_pibase can't fetch translations, pi_getLL()

Cyrill Helg phlogsmailinglists at gmail.com
Fri May 2 19:02:01 CEST 2008


Am Freitag, 2. Mai 2008 schrieb Dmitry Dulepov [typo3]:
> You do not to things like this in TYPO3. Correct code would be:
>
> $className = t3lib_div::makeInstanceClassName(tx_myext_controller);
> $controller = new $className($this);
>
> Never ever use "new" with TYPO3 in your code.

Thanks I just changed it :)

But hey your code above uses "new" ^^^ Of course I got the idea, thanks again!

Cyrill




More information about the TYPO3-dev mailing list