Class ilChatroomKickGUI.
More...
◆ buildMessage()
ilChatroomKickGUI::buildMessage |
( |
string |
$messageString, |
|
|
ilChatroomUser |
$chat_user |
|
) |
| |
|
private |
◆ executeDefault()
ilChatroomKickGUI::executeDefault |
( |
string |
$requestedMethod | ) |
|
◆ main()
ilChatroomKickGUI::main |
( |
| ) |
|
Definition at line 46 of file class.ilChatroomKickGUI.php.
References $response, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), ilChatroomGUIHandler\getRequestValue(), ilChatroomGUIHandler\isSuccessful(), ilChatroomGUIHandler\redirectIfNoPermission(), ILIAS\Repository\refinery(), and ilChatroomGUIHandler\sendResponse().
Referenced by executeDefault().
55 $connector = $this->gui->getConnector();
56 $response = $connector->sendKick($room->getRoomId(), $userToKick);
60 $room->disconnectUser($userToKick);
redirectIfNoPermission($permission)
Checks for requested permissions and redirects if the permission check failed.
getRequestValue(string $key, Transformation $trafo, $default=null)
exitIfNoRoomExists(?ilChatroom $room)
Checks if a ilChatroom exists.
sendResponse(string $content, string $type)
Sends a response and exits the php process.
isSuccessful($response)
Checks for success param in an json decoded response.
static byObjectId(int $object_id)
The documentation for this class was generated from the following file: