ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
class ilProxySettings More...
Public Member Functions | |
isActive ($status=null) | |
Getter/Setter for status. More... | |
setHost ($host) | |
Setter for host. More... | |
getHost () | |
Getter for host. More... | |
setPort ($port) | |
Setter for port. More... | |
getPort () | |
Getter for port. More... | |
save () | |
Saves the current data in database. More... | |
checkConnection () | |
Verifies the proxy server connection. More... | |
Static Public Member Functions | |
static | _getInstance () |
Getter for unique instance. More... | |
Data Fields | |
const | CONNECTION_CHECK_TIMEOUT = 10 |
Protected Member Functions | |
__construct () | |
Constructor. More... | |
read () | |
Fetches data from database. More... | |
Protected Attributes | |
$host = '' | |
$post = '' | |
$isActive = false | |
Static Protected Attributes | |
static | $_instance = null |
Private Member Functions | |
__clone () | |
__clone More... | |
|
protected |
Constructor.
protected
Definition at line 68 of file class.ilProxySettings.php.
References read().
|
private |
|
static |
Getter for unique instance.
public
Definition at line 93 of file class.ilProxySettings.php.
Referenced by ilExternalFeed\__construct(), ilLinkChecker\__validateLinks(), ilExternalFeed\_checkUrl(), ilExternalFeed\_determineFeedUrl(), ilMediaImageUtil\getImageSize(), ilCalendarRemoteReader\initCurl(), ilObjSystemFolderGUI\printProxyStatus(), ilObjSystemFolderGUI\saveProxyObject(), and ilObjSystemFolderGUI\showProxyObject().
ilProxySettings::checkConnection | ( | ) |
Verifies the proxy server connection.
public
ilProxyException |
Definition at line 224 of file class.ilProxySettings.php.
References $DIC, $file, $host, $message, getHost(), and getPort().
ilProxySettings::getHost | ( | ) |
Getter for host.
public
Definition at line 162 of file class.ilProxySettings.php.
References $host.
Referenced by checkConnection(), and save().
ilProxySettings::getPort | ( | ) |
Getter for port.
public
Definition at line 191 of file class.ilProxySettings.php.
Referenced by checkConnection(), and save().
ilProxySettings::isActive | ( | $status = null | ) |
Getter/Setter for status.
public
mixed | boolean or null |
Definition at line 127 of file class.ilProxySettings.php.
References $isActive.
Referenced by read(), and save().
|
protected |
Fetches data from database.
protected
Definition at line 109 of file class.ilProxySettings.php.
References $ilSetting, isActive(), setHost(), and setPort().
Referenced by __construct().
ilProxySettings::save | ( | ) |
Saves the current data in database.
public
Definition at line 204 of file class.ilProxySettings.php.
References $ilSetting, getHost(), getPort(), and isActive().
ilProxySettings::setHost | ( | $host | ) |
Setter for host.
public
string |
Definition at line 147 of file class.ilProxySettings.php.
References $host.
Referenced by read().
ilProxySettings::setPort | ( | $port | ) |
Setter for port.
public
string |
Definition at line 176 of file class.ilProxySettings.php.
Referenced by read().
|
staticprotected |
Definition at line 26 of file class.ilProxySettings.php.
|
protected |
Definition at line 37 of file class.ilProxySettings.php.
Referenced by checkConnection(), getHost(), and setHost().
|
protected |
Definition at line 59 of file class.ilProxySettings.php.
Referenced by isActive().
|
protected |
Definition at line 48 of file class.ilProxySettings.php.
const ilProxySettings::CONNECTION_CHECK_TIMEOUT = 10 |
Definition at line 15 of file class.ilProxySettings.php.