ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ilPrivacySecurityConfigStoredObjective Class Reference

Store information about https is enabled. More...

+ Inheritance diagram for ilPrivacySecurityConfigStoredObjective:
+ Collaboration diagram for ilPrivacySecurityConfigStoredObjective:

Public Member Functions

 __construct (ilPrivacySecuritySetupConfig $config)
 
 getHash ()
 
 getLabel ()
 
 isNotable ()
 
 getPreconditions (Setup\Environment $environment)
 
 isApplicable (Setup\Environment $environment)
 

Protected Member Functions

 bool2string (bool $value)
 

Protected Attributes

ilPrivacySecuritySetupConfig $config
 

Detailed Description

Store information about https is enabled.

Definition at line 25 of file class.ilPrivacySecurityConfigStoredObjective.php.

Constructor & Destructor Documentation

◆ __construct()

ilPrivacySecurityConfigStoredObjective::__construct ( ilPrivacySecuritySetupConfig  $config)

Definition at line 32 of file class.ilPrivacySecurityConfigStoredObjective.php.

References $config.

33  {
34  $this->config = $config;
35  }

Member Function Documentation

◆ bool2string()

ilPrivacySecurityConfigStoredObjective::bool2string ( bool  $value)
protected

Definition at line 96 of file class.ilPrivacySecurityConfigStoredObjective.php.

Referenced by getPreconditions().

96  : string
97  {
98  if ($value) {
99  return "1";
100  }
101  return "0";
102  }
+ Here is the caller graph for this function:

◆ getHash()

ilPrivacySecurityConfigStoredObjective::getHash ( )

Definition at line 37 of file class.ilPrivacySecurityConfigStoredObjective.php.

37  : string
38  {
39  return hash("sha256", self::class);
40  }

◆ getLabel()

ilPrivacySecurityConfigStoredObjective::getLabel ( )

Definition at line 42 of file class.ilPrivacySecurityConfigStoredObjective.php.

42  : string
43  {
44  return "Store information about privacy security in settings";
45  }

◆ getPreconditions()

ilPrivacySecurityConfigStoredObjective::getPreconditions ( Setup\Environment  $environment)

Definition at line 52 of file class.ilPrivacySecurityConfigStoredObjective.php.

References bool2string().

+ Here is the call graph for this function:

◆ isApplicable()

ilPrivacySecurityConfigStoredObjective::isApplicable ( Setup\Environment  $environment)

Definition at line 91 of file class.ilPrivacySecurityConfigStoredObjective.php.

91  : bool
92  {
93  return true;
94  }

◆ isNotable()

ilPrivacySecurityConfigStoredObjective::isNotable ( )

Definition at line 47 of file class.ilPrivacySecurityConfigStoredObjective.php.

47  : bool
48  {
49  return true;
50  }

Field Documentation

◆ $config

ilPrivacySecuritySetupConfig ilPrivacySecurityConfigStoredObjective::$config
protected

Definition at line 30 of file class.ilPrivacySecurityConfigStoredObjective.php.

Referenced by __construct().


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