[TYPO3-core] RFC #9523: class.t3lib_htmlmail.php produces null headers in HTML messages

Xavier Perseguers typo3 at perseguers.ch
Fri Oct 10 10:13:38 CEST 2008


Hi,

>> as although declared as public, the getHTMLContentType() method is used
>> only from within the class itself.
> 
> "public" and friends were only possible in 4.2 after the switch to PHP5.
> To avoid breaking older stuff protected is only used for new methods.

Yes, just to notice that it would have been better to write a @private 
in the comments, just as it was good-coding before PHP5. But it's not 
the question here ;-) We have a patched to be approved by another core 
member and this is what really matters.

Regards

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en


More information about the TYPO3-team-core mailing list