[Typo3-dev] User extension of class.t3lib_div.php

Christian Jul Jensen christian at julletology.dk
Tue Sep 2 13:00:04 CEST 2003


Hi

I'm writing an extension that enhances the 'plainMailEncoded' function
in t3lib_div, to also encode the headers of the mail, useful if you have
weird characters in your language like æ, ø and å :)

The problem with this is that t3lib_div also provides the makeInstance
function that checks for user extensions of classes, in other words the
class is instantiated without checking for any user extension.

How can I resolve this in a clean matter, that is without changing the
source, but providing the functionality in an extension?

Maybe makeInstance should be moved to a class for itself in future
releases, in order to avoid this problem.

-- 
Christian Jul Jensen
Freelance webprogrammer
TYPO3 typehead Denmark




More information about the TYPO3-dev mailing list