ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilAwarenessUserCollection.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
4
12
class
ilAwarenessUserCollection
13
{
14
protected
$users
=
array
();
15
21
static
function
getInstance
()
22
{
23
return
new
ilAwarenessUserCollection
();
24
}
25
31
function
addUser
($a_id)
32
{
33
$this->users[$a_id] = $a_id;
34
}
35
41
function
removeUser
($a_id)
42
{
43
if
(isset($this->users[$a_id]))
44
{
45
unset($this->users[$a_id]);
46
}
47
}
48
54
function
getUsers
()
55
{
56
return
$this->users
;
57
}
58
59
60
}
61
62
?>
ilAwarenessUserCollection\removeUser
removeUser($a_id)
Remove user.
Definition:
class.ilAwarenessUserCollection.php:41
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ilAwarenessUserCollection\addUser
addUser($a_id)
Add user.
Definition:
class.ilAwarenessUserCollection.php:31
ilAwarenessUserCollection
Represents a set of collected users.
Definition:
class.ilAwarenessUserCollection.php:12
php
ilAwarenessUserCollection\getInstance
static getInstance()
Get instance.
Definition:
class.ilAwarenessUserCollection.php:21
ilAwarenessUserCollection\getUsers
getUsers()
Get users.
Definition:
class.ilAwarenessUserCollection.php:54
ilAwarenessUserCollection\$users
$users
Definition:
class.ilAwarenessUserCollection.php:14
Services
Awareness
classes
class.ilAwarenessUserCollection.php
Generated on Fri Jan 17 2025 19:01:08 for ILIAS by
1.8.13 (using
Doxyfile
)