ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilChatroomBanGUI. More...
Public Member Functions | |
__construct (ilChatroomObjectGUI $gui, \ilCtrl $controller=null, \ilLanguage $language=null, \ilUser $user=null) | |
delete () | |
Unbans users fetched from $_REQUEST['banned_user_id']. More... | |
executeDefault ($method) | |
{} More... | |
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... | |
Private Attributes | |
$controller | |
$language | |
$user | |
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 | |
$rbacsystem | |
$mainTpl | |
$ilias | |
$navigationHistory | |
$tree | |
$tabs | |
ilChatroomBanGUI::__construct | ( | ilChatroomObjectGUI | $gui, |
\ilCtrl | $controller = null , |
||
\ilLanguage | $language = null , |
||
\ilUser | $user = null |
||
) |
ilChatroomObjectGUI | $gui | |
ilCtrl | null | $controller | |
ilLanguage | null | $language | |
ilUser | null | $user |
Definition at line 30 of file class.ilChatroomBanGUI.php.
References $controller, $DIC, $language, $user, and user().
ilChatroomBanGUI::active | ( | ) |
Kicks and bans user, fetched from $_REQUEST['user'] and adds history entry.
Definition at line 130 of file class.ilChatroomBanGUI.php.
References $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 60 of file class.ilChatroomBanGUI.php.
References $users, ilChatroom\byObjectId(), ilCtrl\redirect(), and ilUtil\sendInfo().
ilChatroomBanGUI::executeDefault | ( | $method | ) |
{}
Definition at line 78 of file class.ilChatroomBanGUI.php.
References show().
ilChatroomBanGUI::show | ( | ) |
Displays banned users task.
Definition at line 86 of file class.ilChatroomBanGUI.php.
References $data, $row, $table, ilChatroom\byObjectId(), ilUserUtil\getNamePresentation(), and ilChatroomGUIHandler\redirectIfNoPermission().
Referenced by executeDefault().
|
private |
Definition at line 16 of file class.ilChatroomBanGUI.php.
Referenced by __construct().
|
private |
Definition at line 19 of file class.ilChatroomBanGUI.php.
Referenced by __construct().
|
private |
Definition at line 22 of file class.ilChatroomBanGUI.php.
Referenced by __construct().