ILIAS
release_8 Revision v8.19
|
Class ilChatroomPrivateRoomGUI. More...
Public Member Functions | |
executeDefault (string $requestedMethod) | |
create () | |
delete () | |
leave () | |
enter () | |
listUsers () | |
![]() | |
execute (string $method) | |
executeDefault (string $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, bool $isJson=false) | |
Sends a json encoded response and exits the php process. More... | |
hasPermission (string $permission) | |
Protected Member Functions | |
exitIfEnterRoomIsNotAllowed (ilChatroom $room, int $subRoom, ilChatroomUser $chat_user) | |
exitIfNoRoomSubscription (ilChatroom $room, ilChatroomUser $chat_user) | |
![]() | |
getRequestValue (string $key, Transformation $trafo, $default=null) | |
hasRequestValue (string $key) | |
getRoomByObjectId (int $objectId) | |
exitIfNoRoomExists (?ilChatroom $room) | |
Checks if a ilChatroom exists. More... | |
exitIfNoRoomModeratePermission (ilChatroom $room, int $subRoom, ilChatroomUser $chatUser) | |
Check if user can moderate a chatroom. More... | |
canModerate (ilChatroom $room, int $subRoom, int $usrId) | |
isMainRoom (int $subRoomId) | |
Additional Inherited Members | |
![]() | |
ilChatroomObjectGUI | $gui |
ilObjUser | $ilUser |
ilCtrlInterface | $ilCtrl |
ilLanguage | $ilLng |
Filesystem | $webDirectory |
ilObjectService | $obj_service |
FileUpload | $upload |
ilRbacSystem | $rbacsystem |
ilGlobalTemplateInterface | $mainTpl |
ILIAS | $ilias |
ilNavigationHistory | $navigationHistory |
ilTree | $tree |
ilTabsGUI | $tabs |
UIFactory | $uiFactory |
UIRenderer | $uiRenderer |
GlobalHttpState | $http |
Refinery | $refinery |
Class ilChatroomPrivateRoomGUI.
Definition at line 27 of file class.ilChatroomPrivateRoomGUI.php.
ilChatroomPrivateRoomGUI::create | ( | ) |
Definition at line 53 of file class.ilChatroomPrivateRoomGUI.php.
References $response, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), exitIfNoRoomSubscription(), ilChatroomGUIHandler\getRequestValue(), ilChatroomGUIHandler\isSuccessful(), ilChatroomGUIHandler\redirectIfNoPermission(), ILIAS\Repository\refinery(), ilChatroomGUIHandler\sendResponse(), and ilUtil\stripSlashes().
ilChatroomPrivateRoomGUI::delete | ( | ) |
Definition at line 83 of file class.ilChatroomPrivateRoomGUI.php.
References $response, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), exitIfNoRoomSubscription(), ilChatroomGUIHandler\getRequestValue(), ILIAS\Repository\refinery(), and ilChatroomGUIHandler\sendResponse().
ilChatroomPrivateRoomGUI::enter | ( | ) |
Definition at line 123 of file class.ilChatroomPrivateRoomGUI.php.
References $response, ilChatroom\byObjectId(), exitIfEnterRoomIsNotAllowed(), ilChatroomGUIHandler\exitIfNoRoomExists(), ilChatroomGUIHandler\getRequestValue(), ilChatroomGUIHandler\isSuccessful(), ilChatroomGUIHandler\redirectIfNoPermission(), ILIAS\Repository\refinery(), and ilChatroomGUIHandler\sendResponse().
ilChatroomPrivateRoomGUI::executeDefault | ( | string | $requestedMethod | ) |
Definition at line 49 of file class.ilChatroomPrivateRoomGUI.php.
|
protected |
Definition at line 29 of file class.ilChatroomPrivateRoomGUI.php.
References ilChatroomUser\getUserId(), ilChatroom\isAllowedToEnterPrivateRoom(), and ilChatroomGUIHandler\sendResponse().
Referenced by enter().
|
protected |
Definition at line 39 of file class.ilChatroomPrivateRoomGUI.php.
References ilChatroomUser\getUserId(), ilChatroom\isSubscribed(), and ilChatroomGUIHandler\sendResponse().
Referenced by create(), delete(), and leave().
ilChatroomPrivateRoomGUI::leave | ( | ) |
Definition at line 101 of file class.ilChatroomPrivateRoomGUI.php.
References $response, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), exitIfNoRoomSubscription(), ilChatroomGUIHandler\getRequestValue(), ilChatroomGUIHandler\redirectIfNoPermission(), ILIAS\Repository\refinery(), and ilChatroomGUIHandler\sendResponse().
ilChatroomPrivateRoomGUI::listUsers | ( | ) |
Definition at line 144 of file class.ilChatroomPrivateRoomGUI.php.
References $response, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), ilChatroomGUIHandler\getRequestValue(), ilChatroomGUIHandler\redirectIfNoPermission(), ILIAS\Repository\refinery(), and ilChatroomGUIHandler\sendResponse().