[TYPO3-dev] Reading ts-setup in php

Tonni Aagesen goes.to at dev.null
Mon Jun 25 14:31:31 CEST 2007


Steffen Kamper wrote:

>> Firstly, I need to read some ts-setup from some arbitrary php code, and 
>> I'm uncertain how to do this correctly. I _can_ do it like this:
>>
>> $tx_foobar_ts = $GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_foobar.']
> 
> this is correct if you have the TSFE-Object

Thanks - so if I don't have the TSFE-Object, is there another way?


-- 
Regards
Tonni Aagesen
www.pil.dk & www.quickpay.dk




More information about the TYPO3-dev mailing list