ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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
implements
\Countable
13
{
14
protected
$users
= array();
15
21
public
static
function
getInstance
()
22
{
23
return
new
ilAwarenessUserCollection
();
24
}
25
31
public
function
addUser
($a_id)
32
{
33
$this->users[$a_id] = $a_id;
34
}
35
41
public
function
removeUser
($a_id)
42
{
43
if
(isset($this->users[$a_id])) {
44
unset($this->users[$a_id]);
45
}
46
}
47
53
public
function
getUsers
()
54
{
55
return
$this->users
;
56
}
57
61
public
function
count
()
62
{
63
return
count
($this->users);
64
}
65
}
Countable
ilAwarenessUserCollection\removeUser
removeUser($a_id)
Remove user.
Definition:
class.ilAwarenessUserCollection.php:41
ilAwarenessUserCollection\count
count()
Definition:
class.ilAwarenessUserCollection.php:61
ilAwarenessUserCollection\addUser
addUser($a_id)
Add user.
Definition:
class.ilAwarenessUserCollection.php:31
ilAwarenessUserCollection
Represents a set of collected users.
Definition:
class.ilAwarenessUserCollection.php:12
ilAwarenessUserCollection\getInstance
static getInstance()
Get instance.
Definition:
class.ilAwarenessUserCollection.php:21
ilAwarenessUserCollection\getUsers
getUsers()
Get users.
Definition:
class.ilAwarenessUserCollection.php:53
ilAwarenessUserCollection\$users
$users
Definition:
class.ilAwarenessUserCollection.php:14
Services
Awareness
classes
class.ilAwarenessUserCollection.php
Generated on Thu Apr 3 2025 21:01:07 for ILIAS by
1.8.13 (using
Doxyfile
)