Return to Snippet

Revision: 22774
at January 21, 2010 17:11 by cburyta


Initial Code
$q = $this->createQuery('u')
  ->innerJoin('u.Groups g')
  ->where('g.name IN ("' . sfGuardGroup::NAME_PATIENT . '")')
  ;

Initial URL

                                

Initial Description
This shows one way to get a list of users in a particular group using DQL

Initial Title
Find Users in a particular Group by group name with Symfony plugin sfDoctrineGuard

Initial Tags

                                

Initial Language
PHP