[TYPO3-ect] Reminder: where to put fh_library?
Elmar Hinz
elmar07 at googlemail.com
Sun Jul 29 12:43:05 CEST 2007
>>
>> Would that be sensible solution?
>
> tx_div_alpha
>
> temporary alpha solution,
> It should be avoided to use this class in the future. It is used for the
> migration from pibase and other libraries to div/lib.
That's a good idea to get new methods quickly started. So lets start with
this directly.
[...]
> tx_div_all
>
> There should be an object which has each of them as member objects and
> implements all methods. Then the extension can use all methods without
> any needs to care about the object.
tx_div is not an object. It's just a namespace for static functions.
The idea tx_div_all comes to it's limit, if the arguments of functions
change between alpha and stable.
>
> Use this:
> class myExtension extends tslib_pibase {
>
> $divOjb;
>
> $divOjb = &t3lib_div::getUserObj('&myExtensionDiv');
> ...
>
> }
>
> So we create a DIV object inside of each pibase extension which will
> additiionally be globally available to other extensions.
I don't understand the idea. div is not an object. div is not lib.
Regards
Elmar
More information about the TYPO3-team-extension-coordination
mailing list