[TYPO3-dev] Persistent USER and USER_INT objects
JoH
info at cybercraft.de
Fri Feb 24 22:32:29 CET 2006
> To the core developers of TYPO3: Thanks for all your hard work. I can
> imagine that you're quite busy these days but I hope one of you will
> find the time to help me on this question:
>
> Could you please tell me why it shouldn't be possible to use
> persistent objects in TypoScript the same way it's possible in PHP?
>
> I'd like to use something like this:
>
> 10 = USER
> 10{
> userFunc = &tx_myext_pi1->main
> }
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
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de
More information about the TYPO3-dev
mailing list