ILIAS  release_8 Revision v8.24
ilHttpSetupConfig Class Reference
+ Inheritance diagram for ilHttpSetupConfig:
+ Collaboration diagram for ilHttpSetupConfig:

Public Member Functions

 __construct (string $http_path, bool $autodetection_enabled, bool $forced, ?string $header_name, ?string $header_value, bool $proxy_enabled, ?string $proxy_host, ?string $proxy_port)
 
 isForced ()
 
 getHttpPath ()
 
 isAutodetectionEnabled ()
 
 getHeaderName ()
 
 getHeaderValue ()
 
 isProxyEnabled ()
 
 getProxyHost ()
 
 getProxyPort ()
 

Protected Attributes

string $http_path
 
bool $forced = false
 
bool $autodetection_enabled
 
string $header_name
 
string $header_value
 
bool $proxy_enabled
 
string $proxy_host
 
string $proxy_port
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilHttpSetupConfig::__construct ( string  $http_path,
bool  $autodetection_enabled,
bool  $forced,
?string  $header_name,
?string  $header_value,
bool  $proxy_enabled,
?string  $proxy_host,
?string  $proxy_port 
)

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

39 {
41 throw new \InvalidArgumentException(
42 "Expected header name and value for https autodetection if that feature is enabled."
43 );
44 }
46 throw new \InvalidArgumentException(
47 "Expected setting for proxy host and port if proxy is enabled."
48 );
49 }
50 $this->http_path = $http_path;
51 $this->autodetection_enabled = $autodetection_enabled;
52 $this->forced = $forced;
53 $this->header_name = $header_name;
54 $this->header_value = $header_value;
55 $this->proxy_enabled = $proxy_enabled;
56 $this->proxy_host = $proxy_host;
57 $this->proxy_port = $proxy_port;
58 }

References $autodetection_enabled, $forced, $header_name, $header_value, $http_path, $proxy_enabled, $proxy_host, and $proxy_port.

Member Function Documentation

◆ getHeaderName()

ilHttpSetupConfig::getHeaderName ( )

Definition at line 76 of file class.ilHttpSetupConfig.php.

76 : ?string
77 {
78 return $this->header_name;
79 }

References $header_name.

◆ getHeaderValue()

ilHttpSetupConfig::getHeaderValue ( )

Definition at line 81 of file class.ilHttpSetupConfig.php.

81 : ?string
82 {
84 }

References $header_value.

◆ getHttpPath()

ilHttpSetupConfig::getHttpPath ( )

Definition at line 66 of file class.ilHttpSetupConfig.php.

66 : string
67 {
68 return $this->http_path;
69 }

References $http_path.

Referenced by ilNICKeyRegisteredObjective\getURLStringForNIC().

+ Here is the caller graph for this function:

◆ getProxyHost()

ilHttpSetupConfig::getProxyHost ( )

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

91 : ?string
92 {
93 return $this->proxy_host;
94 }

References $proxy_host.

◆ getProxyPort()

ilHttpSetupConfig::getProxyPort ( )

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

96 : ?string
97 {
98 return $this->proxy_port;
99 }

References $proxy_port.

◆ isAutodetectionEnabled()

ilHttpSetupConfig::isAutodetectionEnabled ( )

Definition at line 71 of file class.ilHttpSetupConfig.php.

71 : bool
72 {
74 }

References $autodetection_enabled.

◆ isForced()

ilHttpSetupConfig::isForced ( )

Definition at line 61 of file class.ilHttpSetupConfig.php.

61 : bool
62 {
63 return $this->forced;
64 }

References $forced.

◆ isProxyEnabled()

ilHttpSetupConfig::isProxyEnabled ( )

Definition at line 86 of file class.ilHttpSetupConfig.php.

86 : bool
87 {
89 }

References $proxy_enabled.

Field Documentation

◆ $autodetection_enabled

bool ilHttpSetupConfig::$autodetection_enabled
protected

Definition at line 22 of file class.ilHttpSetupConfig.php.

Referenced by __construct(), and isAutodetectionEnabled().

◆ $forced

bool ilHttpSetupConfig::$forced = false
protected

Definition at line 21 of file class.ilHttpSetupConfig.php.

Referenced by __construct(), and isForced().

◆ $header_name

string ilHttpSetupConfig::$header_name
protected

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

Referenced by __construct(), and getHeaderName().

◆ $header_value

string ilHttpSetupConfig::$header_value
protected

Definition at line 24 of file class.ilHttpSetupConfig.php.

Referenced by __construct(), and getHeaderValue().

◆ $http_path

string ilHttpSetupConfig::$http_path
protected

Definition at line 20 of file class.ilHttpSetupConfig.php.

Referenced by __construct(), and getHttpPath().

◆ $proxy_enabled

bool ilHttpSetupConfig::$proxy_enabled
protected

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

Referenced by __construct(), and isProxyEnabled().

◆ $proxy_host

string ilHttpSetupConfig::$proxy_host
protected

Definition at line 26 of file class.ilHttpSetupConfig.php.

Referenced by __construct(), and getProxyHost().

◆ $proxy_port

string ilHttpSetupConfig::$proxy_port
protected

Definition at line 27 of file class.ilHttpSetupConfig.php.

Referenced by __construct(), and getProxyPort().


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