On 26 nov, 12:21, Jon Busby <[EMAIL PROTECTED]> wrote:
> Are you only attempting to retrieve on picture per product or all the 
> pictures?
>
> Propel should have automatically generated the $project->getPictures(); 
> method, which will retrieve an array of picture objects based on the project 
> in question.
>


Hi

No, its not true.

Propel do a getUser() in my product class because a product has a
user_id. But my product has not an id for a picture.

Pictures is a table that has an id and a product_id, but product table
know nothing about picturres so I´ve not a method in my product, this
is my problem.

Which is the best way to get pictures in this scenario ?

Thanks in advance

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to