[TYPO3-mvc] Concrete Table Inheritance

Eike Starkmann starkmann at undkonsorten.com
Mon Apr 28 15:48:48 CEST 2014


Hi Christian,

concrete table inheritance is not possible in extbase out of the box, as
far as i know.

I once had the same problem and did a workaround via a sql view:

Every table has its own class, and supertables are view(joins) of other
subtables.

Works nice and you can use class inheritance.

Regards, Eike

On 28.04.2014 14:56, Christian Kartnig wrote:
> Hi there,
> 
> I just wanted to ask if Concrete Table Inheritance exists in Extbase
> (yet)? The extbase book says yes, but I didn't find any information on
> how to set it up. Everywhere there is only Single Table Inheritance
> described.
> 
> I just want every subclass to have its own table. I tried to add
> "extends" statements in the php model classes of the subclasses, but
> that obviously isn't enough.
> 
> Can somebody please throw a light on this mystery?
> 
> Thanks a lot,
> Christian



More information about the TYPO3-project-typo3v4mvc mailing list