|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilChatroomServerHandler. More...
Collaboration diagram for ilChatroomServerHandler:Public Member Functions | |
| __construct () | |
| Constructor Calls $this->handleCommand method. More... | |
| getConnector () | |
| Returns connector Instantiates ilChatroomServerConnector with server settings and returns it. More... | |
| cleanupPrivateRooms () | |
Private Member Functions | |
| handleCommand ($task) | |
| Calls command depending on given $task. More... | |
| disconnectedUsers ($usersByScope) | |
| Calls $chatroom->disconnectUsers for every given user in every given scope ($usersByScope), sends corresponding status messages to chatroom and adds event in history. More... | |
| getUserInformation ($user_ids) | |
| serverStarted () | |
| Requires ilChatroom and calls its disconnectAllUsersFromAllRooms() method. More... | |
Class ilChatroomServerHandler.
Definition at line 12 of file class.ilChatroomServerHandler.php.
| ilChatroomServerHandler::__construct | ( | ) |
Constructor Calls $this->handleCommand method.
Definition at line 18 of file class.ilChatroomServerHandler.php.
References exit, and handleCommand().
Here is the call graph for this function:| ilChatroomServerHandler::cleanupPrivateRooms | ( | ) |
Definition at line 114 of file class.ilChatroomServerHandler.php.
References $message, $params, $query, $result, ilChatroom\byObjectId(), date, ilChatroom\findDeletablePrivateRooms(), and getConnector().
Referenced by handleCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Calls $chatroom->disconnectUsers for every given user in every given scope ($usersByScope), sends corresponding status messages to chatroom and adds event in history.
| array | $usersByScope |
Definition at line 49 of file class.ilChatroomServerHandler.php.
References $message, $users, ilChatroom\byRoomId(), date, getConnector(), and getUserInformation().
Referenced by handleCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomServerHandler::getConnector | ( | ) |
Returns connector Instantiates ilChatroomServerConnector with server settings and returns it.
Definition at line 103 of file class.ilChatroomServerHandler.php.
References ilChatroomAdmin\getDefaultConfiguration().
Referenced by cleanupPrivateRooms(), and disconnectedUsers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 85 of file class.ilChatroomServerHandler.php.
References $DIC, $row, and $users.
Referenced by disconnectedUsers().
Here is the caller graph for this function:
|
private |
Calls command depending on given $task.
| string | $task |
Definition at line 28 of file class.ilChatroomServerHandler.php.
References cleanupPrivateRooms(), disconnectedUsers(), and serverStarted().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Requires ilChatroom and calls its disconnectAllUsersFromAllRooms() method.
Definition at line 148 of file class.ilChatroomServerHandler.php.
References ilChatroom\disconnectAllUsersFromAllRooms().
Referenced by handleCommand().
Here is the call graph for this function:
Here is the caller graph for this function: