|
ILIAS
release_8 Revision v8.24
|
Class ilChatroomServerConnector. More...
Collaboration diagram for ilChatroomServerConnector:Public Member Functions | |
| __construct (ilChatroomServerSettings $settings) | |
| isServerAlive () | |
| connect (int $scope, int $userId) | |
| Creates connect URL using given $scope and $userId and returns it. More... | |
| sendCreatePrivateRoom (int $scope, int $subScope, int $user, string $title) | |
| sendDeletePrivateRoom (int $scope, int $subScope, int $user) | |
| enterPrivateRoom (int $scope, int $subScope, int $user) | |
| sendEnterPrivateRoom (int $scope, int $subScope, int $user) | |
| sendClearMessages (int $scope, int $subScope, int $user) | |
| leavePrivateRoom (int $scope, int $subScope, int $user) | |
| sendLeavePrivateRoom (int $scope, int $subScope, int $user) | |
| sendKick (int $scope, int $subScope, int $user) | |
| kick (int $scope, int $subScope, int $user) | |
| Returns kick URL Creates kick URL using given $scope and $query and returns it. More... | |
| sendBan (int $scope, int $subScope, int $user) | |
| getSettings () | |
| sendInviteToPrivateRoom (int $scope, int $subScope, int $user, int $invited_id) | |
| sendUserConfigChange (string $message) | |
Static Public Member Functions | |
| static | checkServerConnection (bool $use_cache=true) |
Protected Member Functions | |
| file_get_contents (string $url, ?array $stream_context_params=null) | |
Static Protected Attributes | |
| static bool | $connection_status = null |
Private Attributes | |
| ilChatroomServerSettings | $settings |
Class ilChatroomServerConnector.
Definition at line 27 of file class.ilChatroomServerConnector.php.
| ilChatroomServerConnector::__construct | ( | ilChatroomServerSettings | $settings | ) |
Definition at line 33 of file class.ilChatroomServerConnector.php.
References $settings, and ILIAS\Repository\settings().
Here is the call graph for this function:
|
static |
Definition at line 38 of file class.ilChatroomServerConnector.php.
References $connection_status, and ilChatroomAdmin\getDefaultConfiguration().
Referenced by ilChatroomAdminViewGUI\checkServerConnection().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomServerConnector::connect | ( | int | $scope, |
| int | $userId | ||
| ) |
Creates connect URL using given $scope and $userId and returns it.
| int | $scope | |
| int | $userId |
Definition at line 79 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilChatroomServerConnector::enterPrivateRoom | ( | int | $scope, |
| int | $subScope, | ||
| int | $user | ||
| ) |
| int | $scope | |
| int | $subScope | |
| int | $user |
Definition at line 164 of file class.ilChatroomServerConnector.php.
References sendEnterPrivateRoom().
Here is the call graph for this function:
|
protected |
| string | $url | |
| array | $stream_context_params |
Definition at line 91 of file class.ilChatroomServerConnector.php.
References Vendor\Package\$e, $message, $url, file_get_contents(), ilLoggerFactory\getLogger(), and ILIAS\Repository\settings().
Referenced by connect(), file_get_contents(), isServerAlive(), kick(), sendBan(), sendClearMessages(), sendCreatePrivateRoom(), sendDeletePrivateRoom(), sendEnterPrivateRoom(), sendInviteToPrivateRoom(), sendLeavePrivateRoom(), and sendUserConfigChange().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomServerConnector::getSettings | ( | ) |
Definition at line 258 of file class.ilChatroomServerConnector.php.
References $settings.
| ilChatroomServerConnector::isServerAlive | ( | ) |
Definition at line 50 of file class.ilChatroomServerConnector.php.
References $response, file_get_contents(), ILIAS\Repository\int(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilChatroomServerConnector::kick | ( | int | $scope, |
| int | $subScope, | ||
| int | $user | ||
| ) |
Returns kick URL Creates kick URL using given $scope and $query and returns it.
| int | $scope | |
| int | $subScope | |
| int | $user |
Definition at line 238 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
Referenced by sendKick().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomServerConnector::leavePrivateRoom | ( | int | $scope, |
| int | $subScope, | ||
| int | $user | ||
| ) |
| int | $scope | |
| int | $subScope | |
| int | $user |
Definition at line 201 of file class.ilChatroomServerConnector.php.
References sendLeavePrivateRoom().
Here is the call graph for this function:| ilChatroomServerConnector::sendBan | ( | int | $scope, |
| int | $subScope, | ||
| int | $user | ||
| ) |
| int | $scope | |
| int | $subScope | |
| int | $user |
Definition at line 251 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilChatroomServerConnector::sendClearMessages | ( | int | $scope, |
| int | $subScope, | ||
| int | $user | ||
| ) |
| int | $scope | |
| int | $subScope | |
| int | $user |
Definition at line 188 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilChatroomServerConnector::sendCreatePrivateRoom | ( | int | $scope, |
| int | $subScope, | ||
| int | $user, | ||
| string | $title | ||
| ) |
| int | $scope | |
| int | $subScope | |
| int | $user | |
| string | $title |
Definition at line 136 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilChatroomServerConnector::sendDeletePrivateRoom | ( | int | $scope, |
| int | $subScope, | ||
| int | $user | ||
| ) |
| int | $scope | |
| int | $subScope | |
| int | $user |
Definition at line 150 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilChatroomServerConnector::sendEnterPrivateRoom | ( | int | $scope, |
| int | $subScope, | ||
| int | $user | ||
| ) |
| int | $scope | |
| int | $subScope | |
| int | $user |
Definition at line 175 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
Referenced by enterPrivateRoom().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomServerConnector::sendInviteToPrivateRoom | ( | int | $scope, |
| int | $subScope, | ||
| int | $user, | ||
| int | $invited_id | ||
| ) |
| int | $scope | |
| int | $subScope | |
| int | $user | |
| int | $invited_id |
Definition at line 270 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilChatroomServerConnector::sendKick | ( | int | $scope, |
| int | $subScope, | ||
| int | $user | ||
| ) |
| int | $scope | |
| int | $subScope | |
| int | $user |
Definition at line 225 of file class.ilChatroomServerConnector.php.
References kick().
Here is the call graph for this function:| ilChatroomServerConnector::sendLeavePrivateRoom | ( | int | $scope, |
| int | $subScope, | ||
| int | $user | ||
| ) |
| int | $scope | |
| int | $subScope | |
| int | $user |
Definition at line 212 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
Referenced by leavePrivateRoom().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomServerConnector::sendUserConfigChange | ( | string | $message | ) |
| string | $message |
Definition at line 282 of file class.ilChatroomServerConnector.php.
References $message, $query, file_get_contents(), and ILIAS\Repository\settings().
Here is the call graph for this function:
|
staticprotected |
Definition at line 29 of file class.ilChatroomServerConnector.php.
Referenced by checkServerConnection().
|
private |
Definition at line 31 of file class.ilChatroomServerConnector.php.
Referenced by __construct(), and getSettings().