3 declare(strict_types=1);
39 protected function getUsers(array $usr_ids): array
43 foreach ($usr_ids as $usr_id) {
44 if (isset($this->users[$usr_id])) {
52 if (!$user->getActive()) {
56 $users[$user->getId()] = $user;
57 $this->users[$user->getId()] =
true;
71 [$this->participants->getContacts(),
true, $DIC->language()->txt(
'crs_mem_contact')],
72 [$this->participants->getAdmins() ,
false,
''],
73 [$this->participants->getTutors() ,
false,
''],
74 [$this->participants->getMembers() ,
false,
'']
77 $group->setHighlighted($users[1]);
78 $group->setLabel($users[2]);
getPopulatedGroup(array $users)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilParticipants $participants
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilParticipants $participants)
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
Base class for course and group participants.