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

Public Member Functions

 __construct (private readonly SelectSetting $select)
 
 enabled ()
 
 validateOnLogin ()
 
 deleteUserOnWithdrawal ()
 
 adminEmail ()
 
 authMode ()
 
 lastResetDate ()
 
 noAcceptance ()
 
 enabled ()
 
 validateOnLogin ()
 
 deleteUserOnWithdrawal ()
 
 adminEmail ()
 
 authMode ()
 
 lastResetDate ()
 

Private Member Functions

 boolean (Marshal $m)
 

Detailed Description

Definition at line 30 of file Settings.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\DataProtection\Settings::__construct ( private readonly SelectSetting  $select)

Definition at line 32 of file Settings.php.

33 {
34 }

Member Function Documentation

◆ adminEmail()

ILIAS\DataProtection\Settings::adminEmail ( )
Returns
Setting<string>

Implements ILIAS\LegalDocuments\ConsumerToolbox\Settings.

Definition at line 63 of file Settings.php.

63 : Setting
64 {
65 return $this->select->typed('admin_email', fn(Marshal $m) => $m->string());
66 }

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

+ Here is the call graph for this function:

◆ authMode()

ILIAS\DataProtection\Settings::authMode ( )
Returns
Setting<string>

Implements ILIAS\LegalDocuments\ConsumerToolbox\Settings.

Definition at line 71 of file Settings.php.

71 : Setting
72 {
73 return $this->select->typed('auth_mode', fn(Marshal $m) => $m->string());
74 }

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

+ Here is the call graph for this function:

◆ boolean()

ILIAS\DataProtection\Settings::boolean ( Marshal  $m)
private

Definition at line 92 of file Settings.php.

92 : Convert
93 {
94 return $m->boolean();
95 }

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

+ Here is the call graph for this function:

◆ deleteUserOnWithdrawal()

ILIAS\DataProtection\Settings::deleteUserOnWithdrawal ( )
Returns
Setting<bool>

Implements ILIAS\LegalDocuments\ConsumerToolbox\Settings.

Definition at line 55 of file Settings.php.

55 : Setting
56 {
57 return $this->select->typed('dpro_withdrawal_usr_deletion', $this->boolean(...));
58 }

◆ enabled()

ILIAS\DataProtection\Settings::enabled ( )
Returns
Setting<bool>

Implements ILIAS\LegalDocuments\ConsumerToolbox\Settings.

Definition at line 39 of file Settings.php.

39 : Setting
40 {
41 return $this->select->typed('dpro_enabled', $this->boolean(...));
42 }

◆ lastResetDate()

ILIAS\DataProtection\Settings::lastResetDate ( )
Returns
Setting<DateTimeImmutable>

Implements ILIAS\LegalDocuments\ConsumerToolbox\Settings.

Definition at line 79 of file Settings.php.

79 : Setting
80 {
81 return $this->select->typed('dpro_last_reset_date', fn(Marshal $m) => $m->dateTime());
82 }

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

+ Here is the call graph for this function:

◆ noAcceptance()

ILIAS\DataProtection\Settings::noAcceptance ( )
Returns
Setting<bool>

Definition at line 87 of file Settings.php.

87 : Setting
88 {
89 return $this->select->typed('dpro_no_acceptance', $this->boolean(...));
90 }

◆ validateOnLogin()

ILIAS\DataProtection\Settings::validateOnLogin ( )
Returns
Setting<bool>

Implements ILIAS\LegalDocuments\ConsumerToolbox\Settings.

Definition at line 47 of file Settings.php.

47 : Setting
48 {
49 return $this->select->typed('dpro_validate_on_login', $this->boolean(...));
50 }

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