19declare(strict_types=1);
40 $room->clearMessages($subRoomId);
42 $connector = $this->gui->getConnector();
43 $response = $connector->sendClearMessages($room->getRoomId(), $subRoomId, $chat_user->getUserId());
executeDefault(string $requestedMethod)
Class ilChatroomGUIHandler.
redirectIfNoPermission($permission)
Checks for requested permissions and redirects if the permission check failed.
getRoomByObjectId(int $objectId)
exitIfNoRoomExists(?ilChatroom $room)
Checks if a ilChatroom exists.
sendResponse($response, bool $isJson=false)
Sends a json encoded response and exits the php process.
getRequestValue(string $key, Transformation $trafo, $default=null)