[TYPO3] Overwriting $TSFE->pSetup with USER vs. USER_INT
robin niemeyer
robin.niemeyer at gmx.net
Thu Mar 1 16:50:19 CET 2007
Thanks a lot, but the problem is (as far as I know) that you can't use
registers with frame.options since it accepts only string values. Or am
I wrong?
Dmitry Dulepov schrieb:
> robin niemeyer wrote:
>> So, my question is: Does this code in all its simplicity look like it
>> could make any sense? And secondly: I still would like to user a
>> USER_INT object rather then calling set_no_cache(), but though I
>> actually can access $TSFE->pSetup, I could not set/overwrite its
>> settings - what do I need to do to achieve this?
>
> If you use set_no_cache, you kill performance completely. Use USER_INT
> and never set_no_cache!
>
> I do not think that modifying pSetup is good. This attribute is not
> meant for that. Use registers if you want. Just fill register inside one
> plugin and read it in another. You can even use registers in TS if you want.
>
More information about the TYPO3-english
mailing list