ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
◀ 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
UserSettings.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\UserSettings
as
UserSettingsInterface
;
25
use
ILIAS\LegalDocuments\ConsumerToolbox\SelectSetting
;
26
use
ILIAS\LegalDocuments\ConsumerToolbox\Setting
;
27
use
ILIAS\LegalDocuments\ConsumerToolbox\Marshal
;
28
29
class
UserSettings
implements
UserSettingsInterface
30
{
31
public
function
__construct
(
private
readonly
SelectSetting
$user_pref)
32
{
33
}
34
38
public
function
withdrawalRequested
():
Setting
39
{
40
return
$this->user_pref->typed(
'dpro_withdrawal_requested'
, fn(
Marshal
$m) => $m->
boolean
());
41
}
42
46
public
function
agreeDate
():
Setting
47
{
48
return
$this->user_pref->typed(
'dpro_agree_date'
, fn(
Marshal
$m) => $m->
nullable
($m->
dateTime
()));
49
}
50
}
ILIAS\DataProtection
Definition:
Consumer.php:21
DateTimeImmutable
ILIAS\DataProtection\UserSettings\withdrawalRequested
withdrawalRequested()
Definition:
UserSettings.php:38
ILIAS\DataProtection\UserSettings\__construct
__construct(private readonly SelectSetting $user_pref)
Definition:
UserSettings.php:31
Marshal
ILIAS\LegalDocuments\ConsumerToolbox\Marshal\boolean
boolean()
Definition:
Marshal.php:47
Setting
ILIAS\LegalDocuments\ConsumerToolbox\Marshal
Definition:
Marshal.php:29
ILIAS\LegalDocuments\ConsumerToolbox\Marshal\nullable
nullable(Convert $convert)
Definition:
Marshal.php:60
ILIAS\DataProtection\UserSettings
Definition:
UserSettings.php:29
UserSettings
SelectSetting
ILIAS\LegalDocuments\ConsumerToolbox\Setting
A
Definition:
Setting.php:28
ILIAS\LegalDocuments\ConsumerToolbox\Marshal\dateTime
dateTime()
Definition:
Marshal.php:35
ILIAS\DataProtection\UserSettings\agreeDate
agreeDate()
Definition:
UserSettings.php:46
ILIAS\LegalDocuments\ConsumerToolbox\SelectSetting
Definition:
SelectSetting.php:25
components
ILIAS
DataProtection
classes
UserSettings.php
Generated on Sat Apr 5 2025 23:03:02 for ILIAS by
1.8.13 (using
Doxyfile
)