[TYPO3-core] RFC #12189: Add API functions for cleaning and flushing output buffers

Ernesto Baschny [cron IT] ernst at cron-it.de
Wed Oct 21 23:41:16 CEST 2009


Francois Suter schrieb:
> Hi,
> 
>> Solution:
>> introduce 2 new functions:
>> t3lib_div::cleanOutputBuffers() and
>> t3lib_div::flushOutputBuffers()
> 
> +1 after reading and testing. Thanks for wrapping this up.
> 
>> Info:
>> this problem also exists in older branches.
>> Question: Should we add the new functions also to the older versions?
>> alternative would be to add the multilevel ob_cleaning to all needed
>> places by hand.
> 
> I'm not sure if we have a policy about this. AFAIK we try as much as
> possible to introduce new methods, but it's not unheard of either.
> Personally, I wouldn't do it in this case.

We have a strict policy which doesn't allow that. This is because else
you would end up having extension "requiring" certain minor versions of
TYPO3, which we haven't had before. So if an extension requires "TYPO3
4.2" it cannot use this new method.

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list