|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilChatroomBanGUI. More...
Inheritance diagram for ilChatroomBanGUI:
Collaboration diagram for ilChatroomBanGUI: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) | ||||
{
| ||||
| 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... | ||||
Private Attributes | |
| $controller | |
| $language | |
| $user | |
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 | |
| $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, ilChatroomGUIHandler\$gui, $language, $user, and user().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| ilChatroomBanGUI::executeDefault | ( | $method | ) |
{
| string | $requestedMethod |
Reimplemented from ilChatroomGUIHandler.
Definition at line 78 of file class.ilChatroomBanGUI.php.
References show().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().