ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
◀ 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
SelectionMap.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\LegalDocuments
;
22
26
class
SelectionMap
27
{
28
private
readonly ?
string
$default_selection
;
29
33
public
function
__construct
(
34
private
readonly array $conditions = [],
35
?
string
$default_selection =
null
36
) {
37
$this->default_selection = $default_selection ?? key($this->conditions);
38
}
39
43
public
function
choices
(): array
44
{
45
return
$this->conditions;
46
}
47
48
public
function
defaultSelection
(): ?string
49
{
50
return
$this->default_selection
;
51
}
52
}
ILIAS\LegalDocuments\SelectionMap\__construct
__construct(private readonly array $conditions=[], ?string $default_selection=null)
Definition:
SelectionMap.php:33
ILIAS\LegalDocuments
Definition:
Administration.php:21
ILIAS\LegalDocuments\SelectionMap
-covariant A
Definition:
SelectionMap.php:26
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:142
ILIAS\LegalDocuments\SelectionMap\choices
choices()
Definition:
SelectionMap.php:43
ILIAS\LegalDocuments\SelectionMap\defaultSelection
defaultSelection()
Definition:
SelectionMap.php:48
ILIAS\LegalDocuments\SelectionMap\$default_selection
readonly string $default_selection
Definition:
SelectionMap.php:28
components
ILIAS
LegalDocuments
classes
SelectionMap.php
Generated on Sun Apr 6 2025 23:03:34 for ILIAS by
1.8.13 (using
Doxyfile
)