ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Class ilChatroomServerSettings. More...
Public Member Functions | |
getURL (string $action, $scope=null) | |
Creates URL by calling $this->getBaseURL and using given $action and $scope and returns it. More... | |
generateIliasUrl () | |
getIliasUrlEnabled () | |
setIliasUrlEnabled (bool $iliasUrlEnabled) | |
getProtocol () | |
setProtocol (string $protocol) | |
getIliasUrl () | |
setIliasUrl (string $iliasUrl) | |
getBaseURL () | |
Creates base URL by calling $this->getProtocol(), $this->getDomain() and $this->getPort() and returnes it. More... | |
getDomain () | |
setDomain (string $domain) | |
getPort () | |
setPort (int $port) | |
getInstance () | |
setInstance (string $instance) | |
generateClientUrl () | |
getClientUrlEnabled () | |
setClientUrlEnabled (bool $clientUrlEnabled) | |
getClientUrl () | |
setClientUrl (string $clientUrl) | |
getAuthKey () | |
setAuthKey (string $authKey) | |
getAuthSecret () | |
setAuthSecret (string $authSecret) | |
getSubDirectory () | |
setSubDirectory (string $subDirectory) | |
Static Public Member Functions | |
static | loadDefault () |
Data Fields | |
final const | PREFIX = '/backend' |
Private Attributes | |
const | DEFAULT_PORT = 8585 |
const | DEFAULT_PROCOTOL = 'http://' |
const | DEFAULT_HOST = '192.168.1.94' |
int | $port = self::DEFAULT_PORT |
string | $protocol = self::DEFAULT_PROCOTOL |
string | $domain = self::DEFAULT_HOST |
string | $instance = '123456' |
string | $authKey = '' |
string | $authSecret = '' |
bool | $clientUrlEnabled = false |
string | $clientUrl = '' |
bool | $iliasUrlEnabled = false |
string | $iliasUrl = '' |
string | $subDirectory = '' |
Class ilChatroomServerSettings.
Definition at line 27 of file class.ilChatroomServerSettings.php.
ilChatroomServerSettings::generateClientUrl | ( | ) |
Definition at line 180 of file class.ilChatroomServerSettings.php.
References $url, getBaseURL(), getClientUrl(), getClientUrlEnabled(), and getProtocol().
ilChatroomServerSettings::generateIliasUrl | ( | ) |
Definition at line 94 of file class.ilChatroomServerSettings.php.
References $url, getBaseURL(), getIliasUrl(), getIliasUrlEnabled(), and getProtocol().
Referenced by getURL().
ilChatroomServerSettings::getAuthKey | ( | ) |
ilChatroomServerSettings::getAuthSecret | ( | ) |
Definition at line 224 of file class.ilChatroomServerSettings.php.
References $authSecret.
ilChatroomServerSettings::getBaseURL | ( | ) |
Creates base URL by calling $this->getProtocol(), $this->getDomain() and $this->getPort() and returnes it.
Definition at line 145 of file class.ilChatroomServerSettings.php.
References getDomain(), getPort(), and getProtocol().
Referenced by generateClientUrl(), and generateIliasUrl().
ilChatroomServerSettings::getClientUrl | ( | ) |
Definition at line 204 of file class.ilChatroomServerSettings.php.
References $clientUrl.
Referenced by generateClientUrl().
ilChatroomServerSettings::getClientUrlEnabled | ( | ) |
Definition at line 194 of file class.ilChatroomServerSettings.php.
References $clientUrlEnabled.
Referenced by generateClientUrl().
ilChatroomServerSettings::getDomain | ( | ) |
Definition at line 150 of file class.ilChatroomServerSettings.php.
References $domain.
Referenced by getBaseURL().
ilChatroomServerSettings::getIliasUrl | ( | ) |
Definition at line 131 of file class.ilChatroomServerSettings.php.
References $iliasUrl.
Referenced by generateIliasUrl().
ilChatroomServerSettings::getIliasUrlEnabled | ( | ) |
Definition at line 109 of file class.ilChatroomServerSettings.php.
References $iliasUrlEnabled.
Referenced by generateIliasUrl().
ilChatroomServerSettings::getInstance | ( | ) |
Definition at line 170 of file class.ilChatroomServerSettings.php.
References $instance.
Referenced by getURL().
ilChatroomServerSettings::getPort | ( | ) |
Definition at line 160 of file class.ilChatroomServerSettings.php.
References $port.
Referenced by getBaseURL().
ilChatroomServerSettings::getProtocol | ( | ) |
Definition at line 119 of file class.ilChatroomServerSettings.php.
References $protocol.
Referenced by generateClientUrl(), generateIliasUrl(), and getBaseURL().
ilChatroomServerSettings::getSubDirectory | ( | ) |
Definition at line 234 of file class.ilChatroomServerSettings.php.
References $subDirectory.
ilChatroomServerSettings::getURL | ( | string | $action, |
$scope = null |
|||
) |
Creates URL by calling $this->getBaseURL and using given $action and $scope and returns it.
string | int | null | $scope |
Definition at line 83 of file class.ilChatroomServerSettings.php.
References $scope, $url, generateIliasUrl(), getInstance(), and null.
|
static |
Definition at line 46 of file class.ilChatroomServerSettings.php.
References $DIC.
Referenced by ilObjChatroomAdminGUI\getConnector(), ilChatroomAdmin\getServerSettings(), and ilOnScreenChatGUI\initializeFrontend().
ilChatroomServerSettings::setAuthKey | ( | string | $authKey | ) |
ilChatroomServerSettings::setAuthSecret | ( | string | $authSecret | ) |
Definition at line 229 of file class.ilChatroomServerSettings.php.
References $authSecret.
ilChatroomServerSettings::setClientUrl | ( | string | $clientUrl | ) |
Definition at line 209 of file class.ilChatroomServerSettings.php.
References $clientUrl.
ilChatroomServerSettings::setClientUrlEnabled | ( | bool | $clientUrlEnabled | ) |
Definition at line 199 of file class.ilChatroomServerSettings.php.
References $clientUrlEnabled.
ilChatroomServerSettings::setDomain | ( | string | $domain | ) |
ilChatroomServerSettings::setIliasUrl | ( | string | $iliasUrl | ) |
ilChatroomServerSettings::setIliasUrlEnabled | ( | bool | $iliasUrlEnabled | ) |
Definition at line 114 of file class.ilChatroomServerSettings.php.
References $iliasUrlEnabled.
ilChatroomServerSettings::setInstance | ( | string | $instance | ) |
ilChatroomServerSettings::setPort | ( | int | $port | ) |
ilChatroomServerSettings::setProtocol | ( | string | $protocol | ) |
Definition at line 124 of file class.ilChatroomServerSettings.php.
ilChatroomServerSettings::setSubDirectory | ( | string | $subDirectory | ) |
Definition at line 239 of file class.ilChatroomServerSettings.php.
References $subDirectory.
|
private |
Definition at line 38 of file class.ilChatroomServerSettings.php.
Referenced by getAuthKey(), and setAuthKey().
|
private |
Definition at line 39 of file class.ilChatroomServerSettings.php.
Referenced by getAuthSecret(), and setAuthSecret().
|
private |
Definition at line 41 of file class.ilChatroomServerSettings.php.
Referenced by getClientUrl(), and setClientUrl().
|
private |
Definition at line 40 of file class.ilChatroomServerSettings.php.
Referenced by getClientUrlEnabled(), and setClientUrlEnabled().
|
private |
Definition at line 36 of file class.ilChatroomServerSettings.php.
Referenced by getDomain(), and setDomain().
|
private |
Definition at line 43 of file class.ilChatroomServerSettings.php.
Referenced by getIliasUrl(), and setIliasUrl().
|
private |
Definition at line 42 of file class.ilChatroomServerSettings.php.
Referenced by getIliasUrlEnabled(), and setIliasUrlEnabled().
|
private |
Definition at line 37 of file class.ilChatroomServerSettings.php.
Referenced by getInstance(), and setInstance().
|
private |
Definition at line 34 of file class.ilChatroomServerSettings.php.
|
private |
Definition at line 35 of file class.ilChatroomServerSettings.php.
Referenced by getProtocol().
|
private |
Definition at line 44 of file class.ilChatroomServerSettings.php.
Referenced by getSubDirectory(), and setSubDirectory().
|
private |
Definition at line 31 of file class.ilChatroomServerSettings.php.
|
private |
Definition at line 29 of file class.ilChatroomServerSettings.php.
|
private |
Definition at line 30 of file class.ilChatroomServerSettings.php.
final const ilChatroomServerSettings::PREFIX = '/backend' |
Definition at line 32 of file class.ilChatroomServerSettings.php.
Referenced by ilChatroomServerSettingsTest\testGetUrl().