ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\DataProtection\UserSettings Class Reference
+ Inheritance diagram for ILIAS\DataProtection\UserSettings:
+ Collaboration diagram for ILIAS\DataProtection\UserSettings:

Public Member Functions

 __construct (private readonly SelectSetting $user_pref)
 
 withdrawalRequested ()
 
 agreeDate ()
 
 withdrawalRequested ()
 
 agreeDate ()
 

Detailed Description

Definition at line 29 of file UserSettings.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\DataProtection\UserSettings::__construct ( private readonly SelectSetting  $user_pref)

Definition at line 31 of file UserSettings.php.

32 {
33 }

Member Function Documentation

◆ agreeDate()

ILIAS\DataProtection\UserSettings::agreeDate ( )
Returns
Setting<?DateTimeImmutable>

Implements ILIAS\LegalDocuments\ConsumerToolbox\UserSettings.

Definition at line 46 of file UserSettings.php.

46 : Setting
47 {
48 return $this->user_pref->typed('dpro_agree_date', fn(Marshal $m) => $m->nullable($m->dateTime()));
49 }

References ILIAS\LegalDocuments\ConsumerToolbox\Marshal\dateTime(), and ILIAS\LegalDocuments\ConsumerToolbox\Marshal\nullable().

+ Here is the call graph for this function:

◆ withdrawalRequested()

ILIAS\DataProtection\UserSettings::withdrawalRequested ( )
Returns
Setting<bool>

Implements ILIAS\LegalDocuments\ConsumerToolbox\UserSettings.

Definition at line 38 of file UserSettings.php.

38 : Setting
39 {
40 return $this->user_pref->typed('dpro_withdrawal_requested', fn(Marshal $m) => $m->boolean());
41 }

References ILIAS\LegalDocuments\ConsumerToolbox\Marshal\boolean().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: