19 declare(strict_types=1);
43 foreach ($relations as $usr_id =>
$relation) {
48 if (!$user->getActive()) {
52 if ($ignore_myself && $user->getId() === $DIC->user()->getId()) {
56 $user_data[$user->getId()] = $user;
getPopulatedGroup(array $users)
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
static getInstanceByGlobalUser(?ilObjUser $user=null)