sorry the last one was:

public function finOneBySlug($slug, $culture)
{
         return Doctrine_Query::create()
                 ->select(a.*, tr.slug, tr.lang)
                 ->from('Article a')
                 ->leftJoin('a.Translation tr')
                 ->addWhere('tr.slug = ?', $slug)
                 ->fetchOne();
}

So I don't know what to do.


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