4 require_once
'Modules/Chatroom/classes/class.ilChatroom.php';
5 require_once
'Modules/Chatroom/classes/class.ilChatroomUser.php';
27 $subRoomId = $_REQUEST[
'sub'];
29 $room->clearMessages($subRoomId);
31 $connector = $this->gui->getConnector();
32 $response = $connector->sendClearMessages($room->getRoomId(), $subRoomId, $chat_user->getUserId());
executeDefault($method)
{}
redirectIfNoPermission($permission)
Checks for requested permissions and redirects if the permission check failed.
sendResponse($response)
Sends a json encoded response and exits the php process.
getRoomByObjectId($objectId)
exitIfNoRoomExists($room)
Checks if a ilChatroom exists.
Class ilChatroomGUIHandler.