ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilSetupConfig Class Reference
+ Inheritance diagram for ilSetupConfig:
+ Collaboration diagram for ilSetupConfig:

Public Member Functions

 __construct (string $client_id, Password $master_password, \DateTimeZone $server_timezone, bool $register_nic)
 
 getClientId ()
 
 getMasterPassword ()
 
 getServerTimeZone ()
 
 getRegisterNIC ()
 

Protected Attributes

 $client_id
 
 $master_password
 
 $server_timezone
 
 $register_nic
 

Detailed Description

Definition at line 8 of file class.ilSetupConfig.php.

Constructor & Destructor Documentation

◆ __construct()

ilSetupConfig::__construct ( string  $client_id,
Password  $master_password,
\DateTimeZone  $server_timezone,
bool  $register_nic 
)

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

35 {
36 if (!preg_match("/^[A-Za-z0-9]+$/", $client_id)) {
37 throw new \InvalidArgumentException(
38 "client_id must not be empty and may only contain alphanumeric characters"
39 );
40 }
41 $this->client_id = $client_id;
42 $this->master_password = $master_password;
43 $this->server_timezone = $server_timezone;
44 $this->register_nic = $register_nic;
45 }

References $client_id, $master_password, $register_nic, and $server_timezone.

Member Function Documentation

◆ getClientId()

ilSetupConfig::getClientId ( )

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

47 : string
48 {
49 return $this->client_id;
50 }

References $client_id.

◆ getMasterPassword()

ilSetupConfig::getMasterPassword ( )

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

52 : Password
53 {
55 }
A password is used as part of credentials for authentication.
Definition: Password.php:14

References $master_password.

◆ getRegisterNIC()

ilSetupConfig::getRegisterNIC ( )

Definition at line 62 of file class.ilSetupConfig.php.

62 : bool
63 {
65 }

References $register_nic.

◆ getServerTimeZone()

ilSetupConfig::getServerTimeZone ( )

Definition at line 57 of file class.ilSetupConfig.php.

57 : \DateTimeZone
58 {
60 }

References $server_timezone.

Field Documentation

◆ $client_id

ilSetupConfig::$client_id
protected

Definition at line 13 of file class.ilSetupConfig.php.

Referenced by __construct(), and getClientId().

◆ $master_password

ilSetupConfig::$master_password
protected

Definition at line 18 of file class.ilSetupConfig.php.

Referenced by __construct(), and getMasterPassword().

◆ $register_nic

ilSetupConfig::$register_nic
protected

Definition at line 28 of file class.ilSetupConfig.php.

Referenced by __construct(), and getRegisterNIC().

◆ $server_timezone

ilSetupConfig::$server_timezone
protected

Definition at line 23 of file class.ilSetupConfig.php.

Referenced by __construct(), and getServerTimeZone().


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