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

Dmitry Dulepov [typo3] dmitry at typo3.org
Thu Jul 17 10:15:26 CEST 2008


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.

-- 
Dmitry Dulepov
TYPO3 Core team
More about TYPO3: http://typo3bloke.net/
Subscribe: http://typo3bloke.net/rss.xml
Latest article: http://typo3bloke.net/post-details/how_to_fill_realurl_cache/


More information about the TYPO3-team-core mailing list