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.ilUsersGalleryGroup.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/User/Gallery/interfaces/interface.ilUsersGalleryUserCollection.php'
;
5
9
class
ilUsersGalleryGroup
implements
ilUsersGalleryUserCollection
10
{
14
protected
$users
= [];
15
19
protected
$highlighted
=
false
;
20
24
protected
$label
=
''
;
25
30
public
function
__construct
(array
$users
)
31
{
32
$this->users =
$users
;
33
}
34
38
public
function
setHighlighted
($status)
39
{
40
$this->highlighted = (bool) $status;
41
}
42
46
public
function
isHighlighted
()
47
{
48
return
(
bool
)
$this->highlighted
;
49
}
50
54
public
function
setLabel
(
$label
)
55
{
56
$this->label =
$label
;
57
}
58
62
public
function
getLabel
()
63
{
64
return
$this->label
;
65
}
66
70
public
function
setItems
(array $items)
71
{
72
$this->users = $items;
73
}
74
78
public
function
getItems
()
79
{
80
return
$this->users
;
81
}
82
86
public
function
count
()
87
{
88
return
count
($this->users);
89
}
90
95
public
function
current
()
96
{
97
return
current
($this->users);
98
}
99
103
public
function
next
()
104
{
105
next
($this->users);
106
}
107
111
public
function
key
()
112
{
113
key
($this->users);
114
}
115
119
public
function
valid
()
120
{
121
return
key
($this->users) !== null;
122
}
123
127
public
function
rewind
()
128
{
129
reset($this->users);
130
}
131
}
ilUsersGalleryUserCollection
Interface ilUsersGalleryUserCollection.
Definition:
interface.ilUsersGalleryUserCollection.php:7
ilUsersGalleryGroup\rewind
rewind()
Definition:
class.ilUsersGalleryGroup.php:127
ilUsersGalleryGroup\setItems
setItems(array $items)
Definition:
class.ilUsersGalleryGroup.php:70
ilUsersGalleryGroup\$users
$users
Definition:
class.ilUsersGalleryGroup.php:14
ilUsersGalleryGroup\isHighlighted
isHighlighted()
Returns whether or not it is a highlighted group.boolean
Definition:
class.ilUsersGalleryGroup.php:46
ilUsersGalleryGroup\count
count()
Definition:
class.ilUsersGalleryGroup.php:86
ilUsersGalleryGroup\next
next()
Definition:
class.ilUsersGalleryGroup.php:103
ilUsersGalleryGroup\current
current()
Definition:
class.ilUsersGalleryGroup.php:95
ilUsersGalleryGroup\$label
$label
Definition:
class.ilUsersGalleryGroup.php:24
ilUsersGalleryGroup\setLabel
setLabel($label)
string
Definition:
class.ilUsersGalleryGroup.php:54
ilUsersGalleryGroup\valid
valid()
Definition:
class.ilUsersGalleryGroup.php:119
ilUsersGalleryGroup\__construct
__construct(array $users)
ilUsersGalleryGroupImpl constructor.
Definition:
class.ilUsersGalleryGroup.php:30
ilUsersGalleryGroup\getLabel
getLabel()
string
Definition:
class.ilUsersGalleryGroup.php:62
ilUsersGalleryGroup\$highlighted
$highlighted
Definition:
class.ilUsersGalleryGroup.php:19
ilUsersGalleryGroup\getItems
getItems()
array
Definition:
class.ilUsersGalleryGroup.php:78
ilUsersGalleryGroup\setHighlighted
setHighlighted($status)
Set whether or not this group is highlighted.
Definition:
class.ilUsersGalleryGroup.php:38
ilUsersGalleryGroup
Class ilUsersGalleryGroup.
Definition:
class.ilUsersGalleryGroup.php:9
ilUsersGalleryGroup\key
key()
Definition:
class.ilUsersGalleryGroup.php:111
Services
User
Gallery
classes
class.ilUsersGalleryGroup.php
Generated on Wed Apr 9 2025 21:01:50 for ILIAS by
1.8.13 (using
Doxyfile
)