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

Steffen Kamper steffen at sk-typo3.de
Tue Aug 14 14:45:20 CEST 2007


"Joerg Schoppet" <joerg at schoppet.de> schrieb im Newsbeitrag 
news:mailman.1.1187091677.13109.typo3-team-extension-coordination at lists.netfielders.de...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Steffen Kamper wrote:
>> Hi Christian.
>>
>> as far as i understand is, that the classes have to register themself in 
>> the
>> "Motherclass" - tx_lib
>> Now tx_lib can iterate and find all classes that are needed.
>>
>> vg  Steffen
>>
> Not in my understanding.
>
> The thought behind the autoload-functionality is, that you don't need to
> make manual includes, if you have a defined naming-sheme, everything can
> be loaded automatically.
>
> Joerg

ok, then the naming-scheme is very important, and you don't have to use more 
than one class each file, e.g.
class tx_myext_form has to be in class.tx_myext_form.php

How do you want to search for? You don't know in which ext-Dir the 
class/file is?

vg  Steffen 




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