[TYPO3-mvc] Abstract Classes and the DB

Lienhart Woitok Lienhart.Woitok at netlogix.de
Fri May 13 15:13:17 CEST 2011


Hello Zalán,

I never tried it with concrete table inheritance, but I don't think this works with a central repository in Extbase. Please try single table inheritance, that should definitely work.

Kind regards


Lienhart Woitok
Web-Entwickler

Telefon: +49 (911) 539909 - 0
E-Mail: Lienhart.Woitok at netlogix.de
Website: media.netlogix.de


--
netlogix GmbH & Co. KG
IT-Services | IT-Training | Media
Andernacher Straße 53 | 90411 Nürnberg
Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
E-Mail: info at netlogix.de | Internet: http://www.netlogix.de

netlogix GmbH & Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
Umsatzsteuer-Identifikationsnummer: DE 233472254
Geschäftsführer: Stefan Buchta, Matthias Schmidt



-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von Zalán Somogyváry
Gesendet: Freitag, 13. Mai 2011 14:16
An: TYPO3 v4 MVC project
Betreff: Re: [TYPO3-mvc] Abstract Classes and the DB


Am 13.05.2011 um 11:58 schrieb Lienhart Woitok:

> Hello Zalán,
>
> have you tried it this way? I think it should work in this manner, I have done a similar thing with an abstract base class and extending classes. This worked quite well for me.
>
> So I think if you have problems, there might be something wrong with your implementation.
>
>
>                        AbstractMediaItem
>                             /                      \
>            AbstractStream         AbstractFile
>               /                                               \
>      Video      Audio, etc.             Video, Audio, etc.


I've tried it this way, but there seems to be a problem with creating a repository for the abstract class AbstractMediaItem. I thought that I don't have to configure anything for Concrete Table Inheritance...

Lg,
Zalán Somogyváry



_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc


More information about the TYPO3-project-typo3v4mvc mailing list