[TYPO3-ect] Autoload-function for lib/div?

Elmar Hinz elmar07 at googlemail.com
Tue Aug 14 11:52:35 CEST 2007


> 
> if (t3lib_div::int_from_ver(phpversion())>=5000000) {
> eval('spl_autoload_register(array(\'tx_myext_Main\', \'loadClass\'));');
> }

Hi Jörg,

how does this register work? I expect, that you can't put it into the class
file because the job is to load the class file.

Regards

Elmar




More information about the TYPO3-team-extension-coordination mailing list