[TYPO3-mvc] How to extend and treat Tx_Extbase_Domain_Model_FrontendUserGroup in m:n relation

Marc Bastian Heinrichs typo3 at mbh-web.de
Wed Feb 8 12:14:32 CET 2012


> I have following simple Extbase Domain Model:
> Project<projectLayers(m:n)>  Layer<frontendUserGroups(m:n)>  FrontendUserGroup
> Object FrontendUserGroup is simply extension of Tx_Extbase_Domain_Model_FrontendUserGroup with no additional functionality or fields:
> class Tx_Example_Domain_Model_FrontendUserGroup extends Tx_Extbase_Domain_Model_FrontendUserGroup {
> }
 > [...]
 > Can anyone kick me right way please

It should work if you relate layer to 
Tx_Extbase_Domain_Model_FrontendUserGroup and not your own class.

But if you want to use your own class you need to adapt or disable the 
single table inheritance configuration for FrontendUserGroup.


More information about the TYPO3-project-typo3v4mvc mailing list