On Wed, 21 Oct 2009, cosmy wrote:

> What does they return?
> A Question object?

Yes.

> Something like:
> $q=$p->getQuestion();
> $q->getQuestionField();

Probably should be:

$field = $p->getQuestion()->getQuestionField();

See docs:
http://www.symfony-project.org/book/1_2/08-Inside-the-Model-Layer#chapter_08_sub_retrieving_related_records


-- 



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