[TYPO3-dev] SOLUTION (?) : Multiple XCLASS inheritance

Ingo Renner typo3 at ingo-renner.com
Tue Feb 7 17:08:38 CET 2006


Am Tue, 7 Feb 2006 16:35:34 +0100 schrieb Jerome Schneider:

Hi

> I'm currently working on a solution to allow TYPO3 developpers to extend the 
> same extension several times ( instead of just one time using XCLASS )

sounds interesting

> If I do so using XCLASS, my work will be a dead-end, as no one will be able 
> to extend my work : XCLASS can't be extended

this is actually not quite correct as you can extend xclasses, you just
can't xclass a base class two or more times.

you can do 

class a
class ux_b extends a
class ux_ux_c extends ux_b

but you can't do 

class a
class ux_b extends a
class ux_c extends a


Ingo

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/




More information about the TYPO3-dev mailing list