3 require_once
'Services/User/Gallery/classes/class.ilAbstractUsersGalleryCollectionProvider.php';
32 protected function getUsers(array $usr_ids)
36 foreach ($usr_ids as $usr_id) {
37 if (isset($this->users[$usr_id])) {
48 if (!
$user->getActive()) {
53 $this->users[
$user->getId()] =
true;
72 array($this->participants->getContacts(),
true, $DIC->language()->txt(
'crs_mem_contact')),
73 array($this->participants->getAdmins() ,
false,
''),
74 array($this->participants->getTutors() ,
false,
''),
75 array($this->participants->getMembers() ,
false,
'')
78 $group->setHighlighted($users[1]);
79 $group->setLabel($users[2]);
getPopulatedGroup(array $users)
Class ilAbstractUsersGalleryCollectionProvider.
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
Class ilUsersGalleryParticipants.
__construct(ilParticipants $participants)