[TYPO3-mvc] remove related objects recursively with extbase

Domi djgarms at gmail.com
Mon Jul 8 08:31:48 CEST 2013


Hello,

is there any recommended way to detach, delete and remove all objects 
related to a deleted Object?

Model A
  -> Model B
    -> Model C

I need a function, that if I delete Model A, all relations to B and even 
their relations to C also getting removed/detached.

I could write a function, but just interested if there is any 
recommended way how to delete elements recursively, maybe through some 
persistence manager calls.

Thanks,
Dominic


More information about the TYPO3-project-typo3v4mvc mailing list