ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 ()
 

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.

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

46  : Setting
47  {
48  return $this->user_pref->typed('dpro_agree_date', fn(Marshal $m) => $m->nullable($m->dateTime()));
49  }
+ 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.

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

38  : Setting
39  {
40  return $this->user_pref->typed('dpro_withdrawal_requested', fn(Marshal $m) => $m->boolean());
41  }
+ Here is the call graph for this function:

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