ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilChatroomServerSettings. More...
Public Member Functions | |
getURL ($action, $scope=null) | |
Creates URL by calling $this->getBaseURL and using given $action and $scope and returns it. More... | |
generateIliasUrl () | |
getIliasUrlEnabled () | |
setIliasUrlEnabled ($iliasUrlEnabled) | |
getProtocol () | |
Returns $this->protocol. More... | |
setProtocol ($protocol) | |
Sets $this->protocol using given $protocol. More... | |
getIliasUrl () | |
setIliasUrl ($iliasUrl) | |
getBaseURL () | |
Returns base URL Creates base URL by calling $this->getProtocol(), $this->getDomain() and $this->getPort() and returnes it. More... | |
getDomain () | |
Returns $this->domain. More... | |
setDomain ($domain) | |
Sets $this->domain using given $domain. More... | |
getPort () | |
Returns $this->port. More... | |
setPort ($port) | |
Sets $this->port using given $port. More... | |
getInstance () | |
Returns $this->instance. More... | |
setInstance ($instance) | |
Sets $this->instance using given $instance. More... | |
generateClientUrl () | |
getClientUrlEnabled () | |
setClientUrlEnabled ($clientUrlEnabled) | |
getClientUrl () | |
setClientUrl ($clientUrl) | |
getSmiliesEnabled () | |
setSmiliesEnabled ($a_bool) | |
getAuthKey () | |
setAuthKey ($authKey) | |
getAuthSecret () | |
setAuthSecret ($authSecret) | |
getSubDirectory () | |
setSubDirectory ($subDirectory) | |
Static Public Member Functions | |
static | loadDefault () |
Data Fields | |
const | PREFIX = '/backend' |
Private Attributes | |
$port = '8585' | |
$protocol = 'http://' | |
$domain = '192.168.1.94' | |
$instance = '123456' | |
$smilies_enabled = false | |
$authKey | |
$authSecret | |
$clientUrlEnabled | |
$clientUrl | |
$iliasUrlEnabled | |
$iliasUrl | |
$subDirectory | |
Class ilChatroomServerSettings.
Definition at line 10 of file class.ilChatroomServerSettings.php.
ilChatroomServerSettings::generateClientUrl | ( | ) |
Definition at line 209 of file class.ilChatroomServerSettings.php.
References $url, getBaseURL(), getClientUrl(), getClientUrlEnabled(), and getProtocol().
ilChatroomServerSettings::generateIliasUrl | ( | ) |
Definition at line 75 of file class.ilChatroomServerSettings.php.
References $url, getBaseURL(), getIliasUrl(), getIliasUrlEnabled(), and getProtocol().
Referenced by getURL().
ilChatroomServerSettings::getAuthKey | ( | ) |
Definition at line 274 of file class.ilChatroomServerSettings.php.
References $authKey.
ilChatroomServerSettings::getAuthSecret | ( | ) |
Definition at line 290 of file class.ilChatroomServerSettings.php.
References $authSecret.
ilChatroomServerSettings::getBaseURL | ( | ) |
Returns base URL Creates base URL by calling $this->getProtocol(), $this->getDomain() and $this->getPort() and returnes it.
Definition at line 147 of file class.ilChatroomServerSettings.php.
References getDomain(), getPort(), and getProtocol().
Referenced by generateClientUrl(), and generateIliasUrl().
ilChatroomServerSettings::getClientUrl | ( | ) |
Definition at line 242 of file class.ilChatroomServerSettings.php.
References $clientUrl.
Referenced by generateClientUrl().
ilChatroomServerSettings::getClientUrlEnabled | ( | ) |
Definition at line 226 of file class.ilChatroomServerSettings.php.
References $clientUrlEnabled.
Referenced by generateClientUrl().
ilChatroomServerSettings::getDomain | ( | ) |
Returns $this->domain.
Definition at line 156 of file class.ilChatroomServerSettings.php.
References $domain.
Referenced by getBaseURL().
ilChatroomServerSettings::getIliasUrl | ( | ) |
Definition at line 128 of file class.ilChatroomServerSettings.php.
References $iliasUrl.
Referenced by generateIliasUrl().
ilChatroomServerSettings::getIliasUrlEnabled | ( | ) |
Definition at line 92 of file class.ilChatroomServerSettings.php.
References $iliasUrlEnabled.
Referenced by generateIliasUrl().
ilChatroomServerSettings::getInstance | ( | ) |
Returns $this->instance.
Definition at line 192 of file class.ilChatroomServerSettings.php.
References $instance.
Referenced by getURL().
ilChatroomServerSettings::getPort | ( | ) |
Returns $this->port.
Definition at line 174 of file class.ilChatroomServerSettings.php.
References $port.
Referenced by getBaseURL().
ilChatroomServerSettings::getProtocol | ( | ) |
Returns $this->protocol.
Definition at line 109 of file class.ilChatroomServerSettings.php.
References $protocol.
Referenced by generateClientUrl(), generateIliasUrl(), and getBaseURL().
ilChatroomServerSettings::getSmiliesEnabled | ( | ) |
Definition at line 258 of file class.ilChatroomServerSettings.php.
References $smilies_enabled.
Referenced by ilOnScreenChatGUI\getEmoticons().
ilChatroomServerSettings::getSubDirectory | ( | ) |
Definition at line 306 of file class.ilChatroomServerSettings.php.
References $subDirectory.
ilChatroomServerSettings::getURL | ( | $action, | |
$scope = null |
|||
) |
Creates URL by calling $this->getBaseURL and using given $action and $scope and returns it.
string | $action | |
string | null | $scope |
Definition at line 61 of file class.ilChatroomServerSettings.php.
References $action, $url, generateIliasUrl(), and getInstance().
|
static |
Definition at line 26 of file class.ilChatroomServerSettings.php.
References $DIC, $query, and $row.
Referenced by ilChatroomBlockGUI\fillDataSection(), ilObjChatroomAdminGUI\getConnector(), ilChatroomAdmin\getServerSettings(), and ilOnScreenChatGUI\loadServerSettings().
ilChatroomServerSettings::setAuthKey | ( | $authKey | ) |
string | $authKey |
Definition at line 282 of file class.ilChatroomServerSettings.php.
References $authKey.
ilChatroomServerSettings::setAuthSecret | ( | $authSecret | ) |
string | $authSecret |
Definition at line 298 of file class.ilChatroomServerSettings.php.
References $authSecret.
ilChatroomServerSettings::setClientUrl | ( | $clientUrl | ) |
string | $clientUrl |
Definition at line 250 of file class.ilChatroomServerSettings.php.
References $clientUrl.
ilChatroomServerSettings::setClientUrlEnabled | ( | $clientUrlEnabled | ) |
bool | $clientUrlEnabled |
Definition at line 234 of file class.ilChatroomServerSettings.php.
References $clientUrlEnabled.
ilChatroomServerSettings::setDomain | ( | $domain | ) |
Sets $this->domain using given $domain.
string | $domain |
Definition at line 165 of file class.ilChatroomServerSettings.php.
References $domain.
ilChatroomServerSettings::setIliasUrl | ( | $iliasUrl | ) |
string | $iliasUrl |
Definition at line 136 of file class.ilChatroomServerSettings.php.
References $iliasUrl.
ilChatroomServerSettings::setIliasUrlEnabled | ( | $iliasUrlEnabled | ) |
bool | $iliasUrlEnabled |
Definition at line 100 of file class.ilChatroomServerSettings.php.
References $iliasUrlEnabled.
ilChatroomServerSettings::setInstance | ( | $instance | ) |
Sets $this->instance using given $instance.
string | $instance |
Definition at line 201 of file class.ilChatroomServerSettings.php.
References $instance, and Sabre\Event\Loop\instance().
ilChatroomServerSettings::setPort | ( | $port | ) |
Sets $this->port using given $port.
string | $port |
Definition at line 183 of file class.ilChatroomServerSettings.php.
References $port.
ilChatroomServerSettings::setProtocol | ( | $protocol | ) |
Sets $this->protocol using given $protocol.
string | $protocol |
Definition at line 118 of file class.ilChatroomServerSettings.php.
References $protocol.
ilChatroomServerSettings::setSmiliesEnabled | ( | $a_bool | ) |
bool | $a_bool |
Definition at line 266 of file class.ilChatroomServerSettings.php.
ilChatroomServerSettings::setSubDirectory | ( | $subDirectory | ) |
mixed | $subDirectory |
Definition at line 314 of file class.ilChatroomServerSettings.php.
References $subDirectory.
|
private |
Definition at line 18 of file class.ilChatroomServerSettings.php.
Referenced by getAuthKey(), and setAuthKey().
|
private |
Definition at line 19 of file class.ilChatroomServerSettings.php.
Referenced by getAuthSecret(), and setAuthSecret().
|
private |
Definition at line 21 of file class.ilChatroomServerSettings.php.
Referenced by getClientUrl(), and setClientUrl().
|
private |
Definition at line 20 of file class.ilChatroomServerSettings.php.
Referenced by getClientUrlEnabled(), and setClientUrlEnabled().
|
private |
Definition at line 15 of file class.ilChatroomServerSettings.php.
Referenced by getDomain(), and setDomain().
|
private |
Definition at line 23 of file class.ilChatroomServerSettings.php.
Referenced by getIliasUrl(), and setIliasUrl().
|
private |
Definition at line 22 of file class.ilChatroomServerSettings.php.
Referenced by getIliasUrlEnabled(), and setIliasUrlEnabled().
|
private |
Definition at line 16 of file class.ilChatroomServerSettings.php.
Referenced by getInstance(), and setInstance().
|
private |
Definition at line 13 of file class.ilChatroomServerSettings.php.
|
private |
Definition at line 14 of file class.ilChatroomServerSettings.php.
Referenced by getProtocol(), and setProtocol().
|
private |
Definition at line 17 of file class.ilChatroomServerSettings.php.
Referenced by getSmiliesEnabled().
|
private |
Definition at line 24 of file class.ilChatroomServerSettings.php.
Referenced by getSubDirectory(), and setSubDirectory().
const ilChatroomServerSettings::PREFIX = '/backend' |
Definition at line 12 of file class.ilChatroomServerSettings.php.
Referenced by ilChatroomServerSettingsTest\testGetUrl().