This code won't return a propel populated object. It will return a propel resultset.
Read the manual or the Resultset interface inside propel, or this article may help: http://www.thenetcircle.com/blog/2009/02/10/propel-query-optimization-tips/ Cheers, Alvaro On Mar 8, 2009, at 5:31 PM, torso wrote: > > this is in the template which makes that error: > echo object_select_tag($file, 'getFileId', > 'peer_method=getSortedFlash') > > and this is the query for getSortedFlash: > $c = new Criteria(); > $c->clearSelectColumns(); > $c->addSelectColumn(FILE::FLASH): > $rs = FILEPeer::doSelectRS($c); > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
