Hi.

Here is an excerpt from my blablaForm::setup():

> $this->setWidget('country',
>   new sfWidgetFormDoctrineSelect(array('model' => 'Country',
>               'query' => Doctrine::getTable('Country')->
> createQuery('c')->leftJoin('c.Translation ct')->orderBy('c.order DESC,
> ct.name ASC'))));
>


2009/8/18 afilina <afil...@gmail.com>

>
> Could you please demonstrate how to use this method? I didn't find
> anything useful in the documentation to help me. Say I want to get a
> list of products with their names from within my controller.
>
> Thanks,
> Anna
> >
>


-- 
With the best regards, Andy.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to