Exemple #1
0
 function getUserGroupNames($valid_user)
 {
     $groupNames = array();
     $groups = unserialize(groups::getUserGroups($valid_user));
     for ($index = 0; $index < sizeof($groups); $index++) {
         array_push($groupNames, groups::getgroupname($groups[$index]));
     }
     return $groupNames;
 }