|
ILIAS
release_8 Revision v8.24
|
Class ilChatroomPrivateRoomGUI. More...
Inheritance diagram for ilChatroomPrivateRoomGUI:
Collaboration diagram for ilChatroomPrivateRoomGUI:Public Member Functions | |
| executeDefault (string $requestedMethod) | |
| create () | |
| delete () | |
| leave () | |
| enter () | |
| listUsers () | |
Public Member Functions inherited from ilChatroomGUIHandler | |
| 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) | |
Protected Member Functions inherited from ilChatroomGUIHandler | |
| 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 | |
Protected Attributes inherited from ilChatroomGUIHandler | |
| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| ilChatroomPrivateRoomGUI::executeDefault | ( | string | $requestedMethod | ) |
Reimplemented from ilChatroomGUIHandler.
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 39 of file class.ilChatroomPrivateRoomGUI.php.
References ilChatroomUser\getUserId(), ilChatroom\isSubscribed(), and ilChatroomGUIHandler\sendResponse().
Referenced by create(), delete(), and leave().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function: