[Typo3-dev] extending extensions

"Kasper Skårhøj" kasper at typo3.com
Tue Jan 13 12:42:33 CET 2004


Generally we have not been able to solve the question. Most recently we have added support for extending extending classes - but this requires awareness of those extensions. Little complicated. And not scalable at all.

Anyways, the official stand is that extension classes is more like a "work-around" solution which can make it work until an API at the targeted position has been made. So maybe needs to extensions should trigger a request for an API? Well, I'll look into this.



God bless

- kasper

*********** REPLY SEPARATOR  ***********

On 13-01-2004 at 12:15 Boris Nicolai wrote:

>morning,
>I run into serious trouble as I want to develop another ext which extends
>the tslib_fe.
>the problem is as already sometimes discussed, what if I want to install
>two
>ext that extend tslib_fe (or whichever class)?
>so I thought a bit and maybe I got a solution without the time to develop
>it
>:(
>A basic-class could look if there are classes that extend this class. if
>so,
>the basic-class creates an instance of this XCLASS, and if a function of
>the
>basic-class is called then the basic-class checks if this function doesn't
>exist in one of its extension-classes. if so it would be called instead of
>its own function. could somehow work but I´m so far not so deep inside
>typo.
>now, what's if two, three, four ... XCLASSES have the same function? then
>it
>must be possible to specify in the Extension, which priority this extension
>has in comparison with other XCLASSES.
>and if no priority is specified by the author? then the latest XCLASS
>overrides the function of the older XCLASSES.
>don't know? could this be a way? or do the new services exactly deliver
>this
>functionality? so far I could not work out WHEN services or under which
>circumstances they should be used.
>
>26 degree hot greetings from andalucia :)
>boris
>
>
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Boris Nicolai
>IT Director
>Coastal Realty SL
>
>Conjunto Casaño, Oficina B4
>Avenida Manolete
>Nueva Andalucia
>29660 Marbella (Spain)
>
>Tel: +34 952 812 949
>Fax: +34 952 814 062
>Mobile: +34 686 021 339
>Email: boris.nicolai at andavida.com
>
>http://www.andavida.com - Hier surft Andalusien
>http://www.coastal-realty.co.uk
>
>
>
>_______________________________________________
>Typo3-dev mailing list
>Typo3-dev at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev



God bless

- kasper
- kasper

--------------------- o ---------------------
Mange kokke fordærver maden.








More information about the TYPO3-dev mailing list