[TYPO3-ect] Autoload-function for lib/div?
Elmar Hinz
elmar07 at googlemail.com
Tue Aug 14 12:45:16 CEST 2007
>>
> Ah, now I got your point.
>
> No, you only have to include class.tx_lib.php (in PHP5). As soon as the
> function spl_autoload_register was executed, each time a new-operater or
> class_exists()-method is used and the class is not available, the method
> tx_lib::loadClass() is called with the class-name as parameter.
>
> This function is then responsible to find the class-file and include it.
>
> I hope, now it is clear.
Sounds good.
Can it result in conflicts with other libraries using the same function? If
yes, how can the conflicts be handled?
Regards
Elmar
More information about the TYPO3-team-extension-coordination
mailing list