[TYPO3-mvc] How to access dataMapper in Repository

Stefan Frömken firma at sfroemken.de
Mon Sep 5 10:20:45 CEST 2011


Good morning MVC-Team,

how can I access the dataMapper-Object in my Repository?
I saw something like this in the Book of Sebastian and Jochen:

$this->dataMapper->map($this->getType(), $row)

But I can't call it from my Repository with $query->dataMapper.

Any ideas

Stefan


More information about the TYPO3-project-typo3v4mvc mailing list