ILIAS
trunk Revision v11.0_alpha-1753-gb21ca8c4367
◀ 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
Settings.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\DataProtection
;
22
23
use
DateTimeImmutable
;
24
use
ILIAS\LegalDocuments\ConsumerToolbox\Settings
as
SettingsInterface
;
25
use
ILIAS\LegalDocuments\ConsumerToolbox\SelectSetting
;
26
use
ILIAS\LegalDocuments\ConsumerToolbox\Marshal
;
27
use
ILIAS\LegalDocuments\ConsumerToolbox\Setting
;
28
use
ILIAS\LegalDocuments\ConsumerToolbox\Convert
;
29
30
final
class
Settings
implements
SettingsInterface
31
{
32
public
function
__construct
(
private
readonly
SelectSetting
$select)
33
{
34
}
35
39
public
function
enabled
():
Setting
40
{
41
return
$this->select->typed(
'dpro_enabled'
, $this->
boolean
(...));
42
}
43
47
public
function
validateOnLogin
():
Setting
48
{
49
return
$this->select->typed(
'dpro_validate_on_login'
, $this->
boolean
(...));
50
}
51
55
public
function
deleteUserOnWithdrawal
():
Setting
56
{
57
return
$this->select->typed(
'dpro_withdrawal_usr_deletion'
, $this->
boolean
(...));
58
}
59
63
public
function
adminEmail
():
Setting
64
{
65
return
$this->select->typed(
'admin_email'
, fn(
Marshal
$m) => $m->
string
());
66
}
67
71
public
function
authMode
():
Setting
72
{
73
return
$this->select->typed(
'auth_mode'
, fn(
Marshal
$m) => $m->
string
());
74
}
75
79
public
function
lastResetDate
():
Setting
80
{
81
return
$this->select->typed(
'dpro_last_reset_date'
, fn(
Marshal
$m) => $m->
dateTime
());
82
}
83
87
public
function
noAcceptance
():
Setting
88
{
89
return
$this->select->typed(
'dpro_no_acceptance'
, $this->
boolean
(...));
90
}
91
92
private
function
boolean
(
Marshal
$m):
Convert
93
{
94
return
$m->
boolean
();
95
}
96
}
ILIAS\DataProtection
Definition:
Consumer.php:21
DateTimeImmutable
ILIAS\DataProtection\Settings\deleteUserOnWithdrawal
deleteUserOnWithdrawal()
Definition:
Settings.php:55
Settings
ILIAS\DataProtection\Settings\noAcceptance
noAcceptance()
Definition:
Settings.php:87
Convert
ILIAS\DataProtection\Settings\__construct
__construct(private readonly SelectSetting $select)
Definition:
Settings.php:32
ILIAS\DataProtection\Settings\adminEmail
adminEmail()
Definition:
Settings.php:63
ILIAS\DataProtection\Settings\authMode
authMode()
Definition:
Settings.php:71
Marshal
ILIAS\LegalDocuments\ConsumerToolbox\Marshal\boolean
boolean()
Definition:
Marshal.php:47
ILIAS\LegalDocuments\ConsumerToolbox\Marshal\string
string()
Definition:
Marshal.php:75
Setting
ILIAS\LegalDocuments\ConsumerToolbox\Marshal
Definition:
Marshal.php:29
ILIAS\DataProtection\Settings\boolean
boolean(Marshal $m)
Definition:
Settings.php:92
SelectSetting
ILIAS\DataProtection\Settings\lastResetDate
lastResetDate()
Definition:
Settings.php:79
ILIAS\LegalDocuments\ConsumerToolbox\Setting
A
Definition:
Setting.php:28
ILIAS\DataProtection\Settings\enabled
enabled()
Definition:
Settings.php:39
ILIAS\LegalDocuments\ConsumerToolbox\Marshal\dateTime
dateTime()
Definition:
Marshal.php:35
SettingsInterface
ILIAS\LegalDocuments\ConsumerToolbox\SelectSetting
Definition:
SelectSetting.php:25
ILIAS\LegalDocuments\ConsumerToolbox\Convert
Definition:
Convert.php:25
ILIAS\DataProtection\Settings\validateOnLogin
validateOnLogin()
Definition:
Settings.php:47
components
ILIAS
DataProtection
classes
Settings.php
Generated on Thu Apr 10 2025 23:02:43 for ILIAS by
1.8.13 (using
Doxyfile
)