[TYPO3-dev] do I need reverse relation?

Peter Russ peter.russ at 4many.net
Fri Oct 13 15:10:20 CEST 2006


Bartosz Aninowski schrieb:
> Thanks Rudy and Peter for answer
> 
>> 1) tslib_pibase::exec_query gives you a lot of overhead. It might be
>> easier to go with t3lib_db::exec_SELECT_mm_query
> 
> This is the best approach I think but I have to worry about additional 
> parametrs like hidden, deleted, starttime etc

Add this to your where clause
$this->cObj->enableFields($table)
e.g.
$table='tx_bapogromcy_products'

Regs. Peter.



-- 
Fiat lux!
Docendo discimus.
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ




More information about the TYPO3-dev mailing list