[TYPO3-core] RFC #8985: Enable USER object to become USER_INT on the fly

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Jul 17 10:34:34 CEST 2008


Dmitry Dulepov [typo3] wrote: on 17.07.2008 10:15:
> Hi!
> 
> Ernesto Baschny [cron IT] wrote:
>> I have been using a similar approach inside my plugins for some years 
>> now (USER object that recalls itself as USER_INT when needed), and I 
>> would love to see that feature in TYPO3. Haven't had time to really 
>> test your approach, but from my first scan through the patch (nice 
>> work!), it looks cool!
>>
>> Will put some more thinking into it when I have the time, probably 
>> next week.
> 
> Ok, thanks! :)
> 
>> One thought came to my mind. What about USER-plugins that convert to 
>> USER_INT but which are already called from inside a COA_INT for 
>> example? Will that work as expected? Maybe the "conversion" is not 
>> even needed then?
> 
> I do not think they will. COA_INT will become a marker in the cached 
> output. Next tslib_fe::INTincScript_process() will extract markers from 
> cached output and process them. This processing is not recursive right 
> now. So any USER_INT inside COA_INT will just produce another set of 
> markers. We should want to force all USER_INT's to USER inside COA_INT. 
> I will take a look at it.

AFAIK the patch from Oli made the _INT processing "recursive":

http://forge.typo3.org/repositories/revision/typo3v4-core?rev=3276

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list