Lines Matching defs:grps
156 * grps array list of groups the user is in
171 $data['grps'] = $this->selectUserGroups($data);
172 if ($data['grps'] === false) return false;
193 * @param null|array $grps
196 public function createUser($user, $clear, $name, $mail, $grps = null)
206 if ($grps == null) $grps = [];
207 array_unshift($grps, $conf['defaultgroup']);
208 $grps = array_unique($grps);
223 foreach ($grps as $group) {
232 foreach ($grps as $group) {
261 $oldgroups = $olddata['grps'];
262 unset($olddata['grps']);
295 if (isset($changes['grps'])) {
300 if (!in_array($group, $changes['grps']) && isset($allgroups[$group])) {
308 foreach ($changes['grps'] as $group) {
319 foreach ($changes['grps'] as $group) {
371 if (isset($filter['grps'])) $filter['group'] = $filter['grps'];
410 if (isset($filter['grps'])) $filter['group'] = $filter['grps'];
520 foreach ($userdata['grps'] as $group) {