/ Published in: PHP

This shows one way to get a list of users in a particular group using DQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$q = $this->createQuery('u') ->innerJoin('u.Groups g') ->where('g.name IN ("' . sfGuardGroup::NAME_PATIENT . '")') ;
Comments
