|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilChatroomBanGUI. More...
Inheritance diagram for ilChatroomBanGUI:
Collaboration diagram for ilChatroomBanGUI:Public Member Functions | ||||
| delete () | ||||
| Unbans users fetched from $_REQUEST['banned_user_id']. More... | ||||
| executeDefault ($method) | ||||
{
| ||||
| show () | ||||
| Displays banned users task. More... | ||||
| active () | ||||
| Kicks and bans user, fetched from $_REQUEST['user'] and adds history entry. More... | ||||
Public Member Functions inherited from ilChatroomGUIHandler | ||||
| __construct (ilChatroomObjectGUI $gui) | ||||
| sendResponse ($response) | ||||
| Sends a json encoded response and exits the php process. More... | ||||
| hasPermission ($permission) | ||||
| Checks for access with ilRbacSystem. More... | ||||
| 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... | ||||
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 | |
| $upload | |
| ilChatroomBanGUI::active | ( | ) |
Kicks and bans user, fetched from $_REQUEST['user'] and adds history entry.
Definition at line 88 of file class.ilChatroomBanGUI.php.
References $GLOBALS, $response, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), ilChatroomGUIHandler\isSuccessful(), ilChatroomGUIHandler\redirectIfNoPermission(), ilChatroomGUIHandler\sendResponse(), and user().
Here is the call graph for this function:| ilChatroomBanGUI::delete | ( | ) |
Unbans users fetched from $_REQUEST['banned_user_id'].
Definition at line 18 of file class.ilChatroomBanGUI.php.
References $users, ilChatroom\byObjectId(), ilCtrl\redirect(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilChatroomBanGUI::executeDefault | ( | $method | ) |
{
| string | $requestedMethod |
Reimplemented from ilChatroomGUIHandler.
Definition at line 36 of file class.ilChatroomBanGUI.php.
References show().
Here is the call graph for this function:| ilChatroomBanGUI::show | ( | ) |
Displays banned users task.
Definition at line 44 of file class.ilChatroomBanGUI.php.
References $data, $GLOBALS, $names, $row, $table, ilChatroom\byObjectId(), ilUserUtil\getNamePresentation(), and ilChatroomGUIHandler\redirectIfNoPermission().
Referenced by executeDefault().
Here is the call graph for this function:
Here is the caller graph for this function: