ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilChatroomServerHandler. More...
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().
ilChatroomServerHandler::cleanupPrivateRooms | ( | ) |
Definition at line 114 of file class.ilChatroomServerHandler.php.
References $message, $params, $query, $result, array, ilChatroom\byObjectId(), date, ilChatroom\findDeletablePrivateRooms(), and getConnector().
Referenced by handleCommand().
|
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, array, ilChatroom\byRoomId(), date, getConnector(), and getUserInformation().
Referenced by handleCommand().
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().
|
private |
Definition at line 85 of file class.ilChatroomServerHandler.php.
References $DIC, $row, $users, and array.
Referenced by disconnectedUsers().
|
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().
|
private |
Requires ilChatroom and calls its disconnectAllUsersFromAllRooms() method.
Definition at line 148 of file class.ilChatroomServerHandler.php.
References ilChatroom\disconnectAllUsersFromAllRooms().
Referenced by handleCommand().