Lines Matching refs:grps
162 $grps = array();
190 if (empty($grps[0])) {
191 $grps[0] = $list->listAddress;
193 array_unshift($grps,$list->listAddress);
197 array_unshift($grps,$listrequest);
201 array_unshift($grps,$listeditor);
209 $users = $this->setUserGroups($mail,$grps);
289 $grps = array();
316 if (empty($grps[0])) {
317 $grps[0] = $list->listAddress;
319 array_unshift($grps,$list->listAddress);
323 array_unshift($grps,$listrequest);
327 array_unshift($grps,$listeditor);
336 $users = $this->setUserGroups($mail,$grps);
352 function setUserGroups($mail,$grps){ argument
356 if(!empty($grps[0])){
357 foreach($grps as $group){
375 foreach ($grps as $grp){
379 if(!$defaultgrpset) array_unshift($grps,$this->sympaDefaultGroup);
383 $this->users[$mail]['grps'] = $grps;
421 function createUser($user,$pwd,$name,$mail,$grps=null){ argument
430 if (!is_array($grps)) $grps = array($conf['defaultgroup']);
433 $groups = join(',',$grps);