ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
PropertyList.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=0);
20
21
namespace
ILIAS\Tracking\View\PropertyList
;
22
23
use
ILIAS\Tracking\View\PropertyList\PropertyListInterface
;
24
25
class
PropertyList
implements
PropertyListInterface
26
{
27
protected
int
$index
;
31
protected
array
$values
;
35
protected
array
$keys
;
36
40
public
function
__construct
(
41
array $properties
42
) {
43
$this->index = 0;
44
$this->values = array_values($properties);
45
$this->keys = array_keys($properties);
46
}
47
48
public
function
next
(): void
49
{
50
$this->index++;
51
}
52
53
public
function
rewind
(): void
54
{
55
$this->index = 0;
56
}
57
58
public
function
valid
(): bool
59
{
60
return
isset($this->keys[$this->index]);
61
}
62
63
public
function
key
(): string
64
{
65
return
$this->keys[
$this->index
];
66
}
67
68
public
function
current
(): string
69
{
70
return
$this->values[
$this->index
];
71
}
72
73
public
function
count
():
int
74
{
75
return
count
($this->keys);
76
}
77
}
ILIAS\Tracking\View\PropertyList\PropertyList\count
count()
Definition:
PropertyList.php:73
ILIAS\Tracking\View\PropertyList\PropertyListInterface
Definition:
PropertyListInterface.php:26
ILIAS\Tracking\View\PropertyList\PropertyList
Definition:
PropertyList.php:25
ILIAS\Tracking\View\PropertyList\PropertyList\next
next()
Definition:
PropertyList.php:48
ILIAS\Tracking\View\PropertyList\PropertyList\key
key()
Definition:
PropertyList.php:63
ILIAS\Tracking\View\PropertyList\PropertyList\current
current()
Definition:
PropertyList.php:68
ILIAS\Tracking\View\PropertyList\PropertyList\$index
int $index
Definition:
PropertyList.php:27
ILIAS\Tracking\View\PropertyList\PropertyList\__construct
__construct(array $properties)
Definition:
PropertyList.php:40
ILIAS\Tracking\View\PropertyList\PropertyList\valid
valid()
Definition:
PropertyList.php:58
PropertyListInterface
ILIAS\Tracking\View\PropertyList\PropertyList\$keys
array $keys
Definition:
PropertyList.php:35
ILIAS\Tracking\View\PropertyList\PropertyList\$values
array $values
Definition:
PropertyList.php:31
ILIAS\Tracking\View\PropertyList\PropertyList\rewind
rewind()
Definition:
PropertyList.php:53
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\Tracking\View\PropertyList
Definition:
Builder.php:21
components
ILIAS
Tracking
classes
View
PropertyList
PropertyList.php
Generated on Mon Apr 14 2025 23:04:19 for ILIAS by
1.8.13 (using
Doxyfile
)