|
ILIAS
release_8 Revision v8.24
|
Class ilChatroomViewGUI. More...
Inheritance diagram for ilChatroomViewGUI:
Collaboration diagram for ilChatroomViewGUI:Public Member Functions | |
| joinWithCustomName () | |
| toggleAutoMessageDisplayState () | |
| executeDefault (string $requestedMethod) | |
| Chatroom and Chatuser get prepared before $this->showRoom method is called. More... | |
| invitePD () | |
| logout () | |
| lostConnection () | |
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 | |
| renderSendMessageBox (ilTemplate $roomTpl) | |
| renderLanguageVariables (ilTemplate $roomTpl) | |
| renderRightUsersBlock (ilTemplate $roomTpl) | |
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) | |
Private Member Functions | |
| setupTemplate () | |
| Adds CSS and JavaScript files that should be included in the header. More... | |
| showRoom (ilChatroom $room, ilChatroomUser $chat_user) | |
| Prepares and displays chatroom and connects user to it. More... | |
| cancelJoin (string $message) | |
| Calls ilUtil::sendFailure method using given $message as parameter. More... | |
| showNameSelection (ilChatroomUser $chat_user) | |
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 |
|
private |
Calls ilUtil::sendFailure method using given $message as parameter.
| string | $message |
Definition at line 355 of file class.ilChatroomViewGUI.php.
References $message.
| ilChatroomViewGUI::executeDefault | ( | string | $requestedMethod | ) |
Chatroom and Chatuser get prepared before $this->showRoom method is called.
If custom usernames are allowed, $this->showNameSelection method is called if user isn't already registered in the Chatroom. @inheritDoc
Reimplemented from ilChatroomGUIHandler.
Definition at line 453 of file class.ilChatroomViewGUI.php.
References ilChatroom\byObjectId(), and ilCtrl\redirect().
Here is the call graph for this function:| ilChatroomViewGUI::invitePD | ( | ) |
Definition at line 487 of file class.ilChatroomViewGUI.php.
References ilChatroom\byObjectId(), ilCtrl\redirect(), ILIAS\Repository\refinery(), ilSession\set(), and ilCtrl\setParameter().
Here is the call graph for this function:| ilChatroomViewGUI::joinWithCustomName | ( | ) |
Definition at line 32 of file class.ilChatroomViewGUI.php.
References ilChatroom\byObjectId(), ilChatroomGUIHandler\getRequestValue(), ilChatroomGUIHandler\hasRequestValue(), ilChatroomGUIHandler\redirectIfNoPermission(), ILIAS\Repository\refinery(), and setupTemplate().
Here is the call graph for this function:| ilChatroomViewGUI::logout | ( | ) |
Definition at line 515 of file class.ilChatroomViewGUI.php.
References ilCtrl\redirectByClass(), and ilCtrl\setParameterByClass().
Here is the call graph for this function:| ilChatroomViewGUI::lostConnection | ( | ) |
Definition at line 522 of file class.ilChatroomViewGUI.php.
References ILIAS\FileDelivery\http(), and ilCtrl\redirectByClass().
Here is the call graph for this function:
|
protected |
Definition at line 369 of file class.ilChatroomViewGUI.php.
References HTML_Template_IT\setVariable().
Here is the call graph for this function:
|
protected |
Definition at line 426 of file class.ilChatroomViewGUI.php.
References HTML_Template_IT\setVariable().
Here is the call graph for this function:
|
protected |
Definition at line 360 of file class.ilChatroomViewGUI.php.
References HTML_Template_IT\setVariable().
Here is the call graph for this function:
|
private |
Adds CSS and JavaScript files that should be included in the header.
Definition at line 78 of file class.ilChatroomViewGUI.php.
Referenced by joinWithCustomName().
Here is the caller graph for this function:
|
private |
Definition at line 431 of file class.ilChatroomViewGUI.php.
References ilChatroomUser\getChatNameSuggestions(), ilCtrl\getFormAction(), and ilCtrl\saveParameter().
Here is the call graph for this function:
|
private |
Prepares and displays chatroom and connects user to it.
| ilChatroom | $room | |
| ilChatroomUser | $chat_user |
Definition at line 95 of file class.ilChatroomViewGUI.php.
References $id, ILIAS\LTI\ToolProvider\$key, $params, $ref_id, $response, $scope, ILIAS\LTI\ToolProvider\$settings, ilChatroom\checkUserPermissions(), ilChatroom\connectUser(), ilChatroomUser\enabledBroadcastTyping(), function, ilChatroom\getActivePrivateRooms(), ilChatroom\getConnectedUsers(), ilCtrl\getFormAction(), ilUtil\getImagePath(), ilPanelGUI\getInstance(), ilChatroom\getLastMessages(), ilCtrl\getLinkTarget(), ilCtrl\getLinkTargetByClass(), ilChatroom\getRoomId(), ilChatroom\getSetting(), ilChatroomUser\getUserId(), ilChatroomUser\getUsername(), ilPanelGUI\HEADING_STYLE_BLOCK, ilModalGUI\initJS(), ilChatroom\isAllowedToEnterPrivateRoom(), ilChatroom\isSubscribed(), ilChatroom\isUserBanned(), ilPanelGUI\PANEL_STYLE_SECONDARY, ilCtrl\redirectByClass(), ILIAS\Repository\refinery(), and ilChatroom\subscribeUserToPrivateRoom().
Here is the call graph for this function:| ilChatroomViewGUI::toggleAutoMessageDisplayState | ( | ) |
Definition at line 325 of file class.ilChatroomViewGUI.php.
References ilObjUser\_writePref(), ilChatroom\byObjectId(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function: