[TYPO3-mvc] Calling/loading Extbase inside a user function

Martin Kutschker masi-no at spam-typo3.org
Sat Jan 9 16:39:30 CET 2010


Thomas "Thasmo" Deinhamer schrieb:
> I already considered, that there will be a quite big overhead,
> but I'm struggling with some t3lib_db functionality, especially
> exec_SELECT_mm_query, which returns the wrong results. That's
> why I wanted to give Extbase a try.
> 
> My problem is, that the function exec_SELECT_mm_query doesn't return
> the desired records, but ALL records of the foreign table, which are
> referenced in the MM table, regardless of the local uid. It just returns
> all, which is imho not correct.

Why don't you build the SQL query yourself. Just call exec_SELECT() if you're not happy with the
"magic" of exec_SELECT_mm_query().

Masi


More information about the TYPO3-project-typo3v4mvc mailing list