ILIAS  release_7 Revision v7.30-3-g800a261c036
ilHttpSetupConfig Class Reference
+ Inheritance diagram for ilHttpSetupConfig:
+ Collaboration diagram for ilHttpSetupConfig:

Public Member Functions

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

Protected Attributes

 $http_path
 
 $autodetection_enabled
 
 $header_name
 
 $header_value
 
 $proxy_enabled
 
 $proxy_host
 
 $proxy_port
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

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

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

53 {
55 throw new \InvalidArgumentException(
56 "Expected header name and value for https autodetection if that feature is enabled."
57 );
58 }
60 throw new \InvalidArgumentException(
61 "Expected setting for proxy host and port if proxy is enabled."
62 );
63 }
64 $this->http_path = $http_path;
65 $this->autodetection_enabled = $autodetection_enabled;
66 $this->header_name = $header_name;
67 $this->header_value = $header_value;
68 $this->proxy_enabled = $proxy_enabled;
69 $this->proxy_host = $proxy_host;
70 $this->proxy_port = $proxy_port;
71 }

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

Member Function Documentation

◆ getHeaderName()

ilHttpSetupConfig::getHeaderName ( )

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

83 : ?string
84 {
85 return $this->header_name;
86 }

References $header_name.

◆ getHeaderValue()

ilHttpSetupConfig::getHeaderValue ( )

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

88 : ?string
89 {
91 }

References $header_value.

◆ getHttpPath()

ilHttpSetupConfig::getHttpPath ( )

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

73 : string
74 {
75 return $this->http_path;
76 }

References $http_path.

Referenced by ilNICKeyRegisteredObjective\getURLStringForNIC().

+ Here is the caller graph for this function:

◆ getProxyHost()

ilHttpSetupConfig::getProxyHost ( )

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

98 : ?string
99 {
100 return $this->proxy_host;
101 }

References $proxy_host.

◆ getProxyPort()

ilHttpSetupConfig::getProxyPort ( )

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

103 : ?string
104 {
105 return $this->proxy_port;
106 }

References $proxy_port.

◆ isAutodetectionEnabled()

ilHttpSetupConfig::isAutodetectionEnabled ( )

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

78 : bool
79 {
81 }

References $autodetection_enabled.

◆ isProxyEnabled()

ilHttpSetupConfig::isProxyEnabled ( )

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

93 : bool
94 {
96 }

References $proxy_enabled.

Field Documentation

◆ $autodetection_enabled

ilHttpSetupConfig::$autodetection_enabled
protected

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

Referenced by __construct(), and isAutodetectionEnabled().

◆ $header_name

ilHttpSetupConfig::$header_name
protected

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

Referenced by __construct(), and getHeaderName().

◆ $header_value

ilHttpSetupConfig::$header_value
protected

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

Referenced by __construct(), and getHeaderValue().

◆ $http_path

ilHttpSetupConfig::$http_path
protected

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

Referenced by __construct(), and getHttpPath().

◆ $proxy_enabled

ilHttpSetupConfig::$proxy_enabled
protected

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

Referenced by __construct(), and isProxyEnabled().

◆ $proxy_host

ilHttpSetupConfig::$proxy_host
protected

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

Referenced by __construct(), and getProxyHost().

◆ $proxy_port

ilHttpSetupConfig::$proxy_port
protected

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

Referenced by __construct(), and getProxyPort().


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