Lines Matching refs:groups
26 $groups = explode(',', $groups_s);
28 foreach($groups as &$group) {
32 return $groups;
38 $groups = array();
40 $groups = array_merge($groups, $data['grps']);
42 $groups = array_unique($groups);
44 $groups = array_diff($groups, $this->get_hidden_groups());
46 sort($groups);
48 return $groups;
51 public function users_of_group($groups) {
53 if (is_string($groups)) {
54 $groups = array($groups);
57 return array_keys(array_filter($wikiusers, function($data) use ($groups) {
58 return count(array_intersect($groups, $data['grps'])) > 0;