ILIAS
eassessment Revision 61809
|
class ilProxySettings More...
Public Member Functions | |
isActive ($status=null) | |
Getter/Setter for status. | |
setHost ($host) | |
Setter for host. | |
getHost () | |
Getter for host. | |
setPort ($port) | |
Setter for port. | |
getPort () | |
Getter for port. | |
save () | |
Saves the current data in database. | |
checkConnection () | |
Verifies the proxy server connection. |
Static Public Member Functions | |
static | _getInstance () |
Getter for unique instance. |
Protected Member Functions | |
__construct () | |
Constructor. | |
read () | |
Fetches data from database. |
Protected Attributes | |
$host = '' | |
$post = '' | |
$isActive = false |
Static Protected Attributes | |
static | $_instance = null |
Private Member Functions | |
__clone () | |
__clone |
|
protected |
Constructor.
protected
Definition at line 66 of file class.ilProxySettings.php.
References read().
|
private |
|
static |
Getter for unique instance.
public
Definition at line 91 of file class.ilProxySettings.php.
References $_instance.
Referenced by ilLinkChecker\__validateLinks(), ilExternalFeed\_checkUrl(), ilExternalFeed\_determineFeedUrl(), ilExternalFeed\ilExternalFeed(), 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 $lng, getHost(), getPort(), and PEAR_ERROR_RETURN.
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 126 of file class.ilProxySettings.php.
References $isActive.
Referenced by read(), and save().
|
protected |
Fetches data from database.
protected
Definition at line 108 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 24 of file class.ilProxySettings.php.
Referenced by _getInstance().
|
protected |
Definition at line 35 of file class.ilProxySettings.php.
|
protected |
Definition at line 57 of file class.ilProxySettings.php.
Referenced by isActive().
|
protected |
Definition at line 46 of file class.ilProxySettings.php.