[TYPO3-dev] Fake $TSFE abd cObj for links

Steffen Kamper steffen at sk-typo3.de
Wed Oct 31 10:01:37 CET 2007


"Elmar Hinz" <elmar07 at googlemail.com> schrieb im Newsbeitrag 
news:mailman.1.1193821024.21858.typo3-dev at lists.netfielders.de...
>> Hi Elmar,
>>
>> there is one example of creating a cObj. Have a look in
>> rtehtmlarea/htmlarea/plugins/SpellChecker/spell-check-logic.php
>
> Hi Steffen,
>
> a useful link. I have changed the topic, so that we can find it henceforth
> with any newsreader.
>
> However it seems to create a full FE with rootline and template first. So 
> it
> is probably the slow way and not the performant solution for the original
> topic.
>
> Regards
>
> Elmar
>

Hi Elmar,

yes, that's true. The cObj has to be filled proper to work. I tried several 
ways to "fake" the object but it throws errors if not filled proper.
Anyway this is a bit faster than initialising whole pi_base.
The cObj is one of the most complex objects in TYPO3.

vg  Steffen 






More information about the TYPO3-dev mailing list