ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilChatroomBanGUI. More...
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... | ||||
![]() | ||||
__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 | |
![]() | |
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) | |
![]() | |
$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().
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().
ilChatroomBanGUI::executeDefault | ( | $method | ) |
{
string | $requestedMethod |
Reimplemented from ilChatroomGUIHandler.
Definition at line 36 of file class.ilChatroomBanGUI.php.
References show().
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().