[TYPO3-mvc] MM_opposite_field

Franz Koch typo3.RemoveForMessage at elements-net.de
Mon Jun 14 11:37:40 CEST 2010


Hey,

> $actors = $actorRepository->findByName('bruce');
> $movies = $this->createQuery()
> ->contains('actors', $actors)
> ->execute();
>
> this would give you all movies with connected actors named "bruce".

sorry for OT: By reading about actors, movies and Bruce - did you know 
that a Die Hard 5 is coming up in 2012? :D

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list