[TYPO3-core] Feature #9633: [CRASH] Implement autoloading for TYPO3
Steffen Kamper
info at sk-typo3.de
Tue May 19 21:02:59 CEST 2009
Hi,
Xavier Perseguers schrieb:
> Xavier Perseguers wrote:
>
> in t3lib_div:
>
> protected function getClassName($className) {
> return (class_exists('ux_' . $className, false) ?
> self::getClassName('ux_' . $className) : $className);
> }
>
> How is it supposed to work? If the file containing the file is not yet
> loaded, there is no chance finding a XCLASS of this class, meaning the
> method returns the main className, not any XCLASS of it.
>
>
This works after xclass was proceeded. If a classname is called and
ux_classname is loaded, it returns the ux-one.
vg Steffen
More information about the TYPO3-team-core
mailing list