Class ilUsersGalleryParticipants.
More...
◆ __construct()
ilUsersGalleryParticipants::__construct |
( |
protected ilParticipants |
$participants | ) |
|
◆ getUsers()
ilUsersGalleryParticipants::getUsers |
( |
array |
$usr_ids | ) |
|
|
protected |
- Parameters
-
- Returns
- array<int, ilObjUser>
Definition at line 37 of file class.ilUsersGalleryParticipants.php.
37 : array
38 {
40
41 foreach ($usr_ids as $usr_id) {
42 if (isset($this->users[$usr_id])) {
43 continue;
44 }
45
47 continue;
48 }
49
50 if (!$user->getActive()) {
51 continue;
52 }
53
54 $users[$user->getId()] = $user;
55 $this->users[$user->getId()] = true;
56 }
57
59 }
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
References $users, and ilObjectFactory\getInstanceByObjId().
◆ $users
array ilUsersGalleryParticipants::$users = [] |
|
protected |
The documentation for this class was generated from the following file: