[TYPO3-dev] Persistent USER and USER_INT objects
Mads Brunn
mads at typoconsult.dk
Sat Feb 25 08:25:10 CET 2006
Hi Joey
JoH wrote:
> If you just want to store the result and reuse it, you could do something
> like this:
>
> 10 = LOAD_REGISTER
> 10 {
> tx_myextPi1.cObject = USER
> tx_myextPi1.cObject {
> userFunc = &tx_myext_pi1->main
> }
> }
>
> 10 = TEXT
> 10.data = register:tx_myextPi1
>
> 20 = TEXT
> 20.data = register:tx_myextPi1
>
> Joey
Yeah, I know but that's not the issue here. In this case I need to call
a USER object a lot of times but with different parameters. I believe I
could save some overhead by making the object persistent. You follow me?
Best regards
Mads Brunn
More information about the TYPO3-dev
mailing list