ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilProxySettings Class Reference

class ilProxySettings More...

+ Collaboration diagram for ilProxySettings:

Public Member Functions

 __construct (protected ilSetting $setting)
 
 isActive ()
 
 getHost ()
 
 getPort ()
 

Static Public Member Functions

static _getInstance ()
 

Protected Member Functions

 read ()
 

Protected Attributes

string $host = ''
 
int $port = 80
 
bool $active = false
 

Static Protected Attributes

static ilProxySettings $_instance = null
 

Detailed Description

class ilProxySettings

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de

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

Constructor & Destructor Documentation

◆ __construct()

ilProxySettings::__construct ( protected ilSetting  $setting)

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

References read().

34  {
35  $this->read();
36  }
+ Here is the call graph for this function:

Member Function Documentation

◆ _getInstance()

static ilProxySettings::_getInstance ( )
static

Definition at line 38 of file class.ilProxySettings.php.

References $DIC, and null.

Referenced by ilAuthProviderOpenIdConnect\doAuthentication(), and ilCurlConnection\init().

39  {
40  if (null === self::$_instance) {
41  global $DIC;
42  self::$_instance = new self($DIC->settings());
43  }
44 
45  return self::$_instance;
46  }
class ilProxySettings
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
global $DIC
Definition: shib_login.php:22
+ Here is the caller graph for this function:

◆ getHost()

ilProxySettings::getHost ( )

Definition at line 60 of file class.ilProxySettings.php.

References $host.

60  : string
61  {
62  return $this->host;
63  }

◆ getPort()

ilProxySettings::getPort ( )

Definition at line 65 of file class.ilProxySettings.php.

References $port.

65  : int
66  {
67  return $this->port;
68  }

◆ isActive()

ilProxySettings::isActive ( )

Definition at line 55 of file class.ilProxySettings.php.

References $active.

55  : bool
56  {
57  return $this->active;
58  }

◆ read()

ilProxySettings::read ( )
protected

Definition at line 48 of file class.ilProxySettings.php.

References ILIAS\Repository\int().

Referenced by __construct().

48  : void
49  {
50  $this->host = (string) $this->setting->get('proxy_host');
51  $this->port = (int) $this->setting->get('proxy_port');
52  $this->active = (bool) $this->setting->get('proxy_status');
53  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $_instance

ilProxySettings ilProxySettings::$_instance = null
staticprotected

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

◆ $active

bool ilProxySettings::$active = false
protected

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

Referenced by isActive().

◆ $host

string ilProxySettings::$host = ''
protected

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

Referenced by getHost().

◆ $port

int ilProxySettings::$port = 80
protected

Definition at line 29 of file class.ilProxySettings.php.

Referenced by getPort().


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