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

Elmar Hinz elmar07 at googlemail.com
Tue Aug 14 12:23:59 CEST 2007


> Hi,
> 
> The idea behind  this is the following:
> 
> In your TypoScript-Template of your Website, one of the first statements
> will be "includeLibs.tx_lib = EXT:lib/class.tx_lib.php"
> 
> in the file class.tx_lib.php is the class-definition
> 
> final class tx_lib {
> private __construct() {
> }
> static function loadClass($className) {
> }
> }
> 
> 
> AND after the class-definition is the if-statement to register the
> function for autoload-capability.

Hi,

do you only have to include EXT:lib/class.tx_lib.php, or do you have to
include all class files this way? 

I fear I still don't get the point. If I need to include all files in TS,
what is the loading good for? The files are already included then.

Regards






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