ILIAS
release_4-3 Revision
|
Class ilChatroomServerHandler. More...
Public Member Functions | |
__construct () | |
Constructor. | |
getConnector () | |
Returns connector. | |
cleanupPrivateRooms () |
Private Member Functions | |
handleCommand ($task) | |
Calls command depending on given $task. | |
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. | |
serverStarted () | |
Requires ilChatroom and calls its disconnectAllUsersFromAllRooms() method. | |
getUserInformation ($user_ids) |
Class ilChatroomServerHandler.
Definition at line 14 of file class.ilChatroomServerHandler.php.
ilChatroomServerHandler::__construct | ( | ) |
Constructor.
Calls $this->handleCommand method.
Definition at line 22 of file class.ilChatroomServerHandler.php.
References $_REQUEST, exit, and handleCommand().
ilChatroomServerHandler::cleanupPrivateRooms | ( | ) |
Definition at line 70 of file class.ilChatroomServerHandler.php.
References $query, $result, ilChatroom\byObjectId(), 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 108 of file class.ilChatroomServerHandler.php.
References $_REQUEST, ilChatroom\byRoomId(), getConnector(), and getUserInformation().
Referenced by handleCommand().
ilChatroomServerHandler::getConnector | ( | ) |
Returns connector.
Instantiates ilChatroomServerConnector with server settings and returns it.
Definition at line 36 of file class.ilChatroomServerHandler.php.
Referenced by cleanupPrivateRooms(), and disconnectedUsers().
|
private |
Definition at line 158 of file class.ilChatroomServerHandler.php.
References $row.
Referenced by disconnectedUsers().
|
private |
Calls command depending on given $task.
string | $task |
Definition at line 54 of file class.ilChatroomServerHandler.php.
References $_REQUEST, cleanupPrivateRooms(), disconnectedUsers(), and serverStarted().
Referenced by __construct().
|
private |
Requires ilChatroom and calls its disconnectAllUsersFromAllRooms() method.
Definition at line 151 of file class.ilChatroomServerHandler.php.
References ilChatroom\disconnectAllUsersFromAllRooms().
Referenced by handleCommand().