|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilChatroomKickGUI. More...
Inheritance diagram for ilChatroomKickGUI:
Collaboration diagram for ilChatroomKickGUI:Public Member Functions | |
| executeDefault ($requestedMethod) | |
| Displays window box to kick a user fetched from $_REQUEST['user']. More... | |
| main () | |
| sub () | |
| Kicks user from subroom into mainroom. More... | |
Public Member Functions inherited from ilChatroomGUIHandler | |
| __construct (ilChatroomObjectGUI $gui) | |
| execute ($method) | |
| Executes given $method if existing, otherwise executes executeDefault() method. More... | |
| executeDefault ($requestedMethod) | |
| redirectIfNoPermission ($permission) | |
| Checks for requested permissions and redirects if the permission check failed. More... | |
| isSuccessful ($response) | |
| Checks for success param in an json decoded response. More... | |
| sendResponse ($response) | |
| Sends a json encoded response and exits the php process. More... | |
| hasPermission ($permission) | |
| Checks for access with ilRbacSystem. More... | |
Private Member Functions | |
| buildMessage ($messageString, ilChatroomUser $chat_user) | |
| Instantiates stdClass, sets $data->user and $data->userToKick using given $messageString and $chat_user and returns $data. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ilChatroomGUIHandler | |
| getRoomByObjectId ($objectId) | |
| exitIfNoRoomExists ($room) | |
| Checks if a ilChatroom exists. More... | |
| exitIfNoRoomPermission ($room, $subRoom, $chat_user) | |
| Check if user can moderate a chatroom. More... | |
| canModerate ($room, $subRoom, $user_id) | |
| Checks if the user has permission to moderate a ilChatroom. More... | |
| isMainRoom ($subRoomId) | |
Protected Attributes inherited from ilChatroomGUIHandler | |
| $gui | |
| $ilUser | |
| $ilCtrl | |
| $ilLng | |
| $webDirectory | |
| $obj_service | |
| $upload | |
| $rbacsystem | |
| $mainTpl | |
| $ilias | |
| $navigationHistory | |
| $tree | |
| $tabs | |
|
private |
Instantiates stdClass, sets $data->user and $data->userToKick using given $messageString and $chat_user and returns $data.
| string | $messageString | |
| ilChatroomUser | $chat_user |
Definition at line 22 of file class.ilChatroomKickGUI.php.
References $data.
| ilChatroomKickGUI::executeDefault | ( | $requestedMethod | ) |
Displays window box to kick a user fetched from $_REQUEST['user'].
@inheritDoc
Reimplemented from ilChatroomGUIHandler.
Definition at line 38 of file class.ilChatroomKickGUI.php.
References $response, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), ilChatroomGUIHandler\isSuccessful(), ilChatroomGUIHandler\redirectIfNoPermission(), and ilChatroomGUIHandler\sendResponse().
Here is the call graph for this function:| ilChatroomKickGUI::main | ( | ) |
Definition at line 59 of file class.ilChatroomKickGUI.php.
References $response, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), ilChatroomGUIHandler\isSuccessful(), and ilChatroomGUIHandler\sendResponse().
Here is the call graph for this function:| ilChatroomKickGUI::sub | ( | ) |
Kicks user from subroom into mainroom.
Definition at line 81 of file class.ilChatroomKickGUI.php.
References $response, ilChatroom\byObjectId(), ilChatroom\checkUserPermissions(), ilCtrl\redirectByClass(), ROOT_FOLDER_ID, ilChatroomGUIHandler\sendResponse(), and ilCtrl\setParameterByClass().
Here is the call graph for this function: