|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilChatroomViewGUI. More...
Inheritance diagram for ilChatroomViewGUI:
Collaboration diagram for ilChatroomViewGUI:Public Member Functions | |
| joinWithCustomName () | |
| readOnlyChatWindow (ilChatroom $room, array $messages) | |
| toggleAutoMessageDisplayState () | |
| executeDefault (string $requestedMethod) | |
| Chatroom and Chatuser get prepared before $this->showRoom method is called. More... | |
| logout () | |
| lostConnection () | |
| userEntry () | |
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... | |
| hasPermission (string $permission) | |
Protected Member Functions | |
| renderSendMessageBox (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... | |
| sendJSONResponse ($response) | |
| Sends a json encoded response and exits the php process. More... | |
| sendResponse (string $content, string $type) | |
| Sends a response and exits the php process. More... | |
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... | |
| sendMessageForm () | |
| userList () | |
| chatFunctions (bool $show_auto_messages, bool $is_moderator) | |
| checkbox (Component $component) | |
| legacy (string $html) | |
| panel (string $title, $body) | |
| cancelJoin (string $message) | |
| Calls ilUtil::sendFailure method using given $message as parameter. More... | |
| showNameSelection (ilChatroomUser $chat_user) | |
| buildUserActions (int $user_id, array $actions) | |
| buildChat (ilChatroom $room, ilChatroomServerSettings $settings) | |
Additional Inherited Members | |
Protected Attributes inherited from ilChatroomGUIHandler | |
| 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 |
| ILIAS FileDelivery Services | $file_delivery |
|
private |
Definition at line 503 of file class.ilChatroomViewGUI.php.
|
private |
| array<string|int,string> | $actions |
Definition at line 474 of file class.ilChatroomViewGUI.php.
References $id, $user_id, and ilObjUser\_lookupPref().
Here is the call graph for this function:
|
private |
Calls ilUtil::sendFailure method using given $message as parameter.
Definition at line 297 of file class.ilChatroomViewGUI.php.
|
private |
Definition at line 189 of file class.ilChatroomViewGUI.php.
References Vendor\Package\$b, $c, $id, $text, and ILIAS\UI\examples\MainControls\Slate\Legacy\legacy().
Here is the call graph for this function:
|
private |
Definition at line 246 of file class.ilChatroomViewGUI.php.
| 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 335 of file class.ilChatroomViewGUI.php.
References ilChatroom\byObjectId(), and ilCtrl\redirect().
Here is the call graph for this function:| ilChatroomViewGUI::joinWithCustomName | ( | ) |
Definition at line 35 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:
|
private |
Definition at line 251 of file class.ilChatroomViewGUI.php.
| ilChatroomViewGUI::logout | ( | ) |
Definition at line 370 of file class.ilChatroomViewGUI.php.
References ilCtrl\redirectByClass(), and ilCtrl\setParameterByClass().
Here is the call graph for this function:| ilChatroomViewGUI::lostConnection | ( | ) |
Definition at line 377 of file class.ilChatroomViewGUI.php.
References ILIAS\FileDelivery\http(), and ilCtrl\redirectByClass().
Here is the call graph for this function:
|
private |
| Component|array<Component> | $body |
Definition at line 259 of file class.ilChatroomViewGUI.php.
| ilChatroomViewGUI::readOnlyChatWindow | ( | ilChatroom | $room, |
| array | $messages | ||
| ) |
Definition at line 161 of file class.ilChatroomViewGUI.php.
References ilChatroom\getSettings().
Here is the call graph for this function:
|
protected |
Definition at line 308 of file class.ilChatroomViewGUI.php.
References HTML_Template_IT\setVariable().
Here is the call graph for this function:
|
protected |
Definition at line 302 of file class.ilChatroomViewGUI.php.
References HTML_Template_IT\setVariable().
Here is the call graph for this function:
|
private |
Definition at line 173 of file class.ilChatroomViewGUI.php.
References ILIAS\UI\examples\MainControls\Slate\Legacy\legacy().
Here is the call graph for this function:
|
private |
Adds CSS and JavaScript files that should be included in the header.
Definition at line 84 of file class.ilChatroomViewGUI.php.
References ilLinkifyUtil\initLinkify().
Referenced by joinWithCustomName().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 313 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.
Definition at line 96 of file class.ilChatroomViewGUI.php.
References $ref_id, $response, $scope, $user_id, ilChatroom\checkUserPermissions(), ilChatroom\connectUser(), ilChatroomUser\enabledBroadcastTyping(), ilChatroom\getConnectedUsers(), ilChatroom\getLastMessages(), ilCtrl\getLinkTargetByClass(), ilChatroom\getRoomId(), ilChatroom\getSetting(), ilChatroom\getSettings(), ilChatroomUser\getUserId(), ilChatroomUser\getUsername(), ilChatroomUser\isProfilePictureVisible(), ilChatroom\isSubscribed(), ilChatroom\isUserBanned(), ILIAS\Repository\navigationHistory(), ilCtrl\redirectByClass(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilChatroomViewGUI::toggleAutoMessageDisplayState | ( | ) |
Definition at line 269 of file class.ilChatroomViewGUI.php.
References ilChatroom\byObjectId(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilChatroomViewGUI::userEntry | ( | ) |
Definition at line 435 of file class.ilChatroomViewGUI.php.
References Vendor\Package\$d, $DIC, $ref_id, $user_id, ANONYMOUS_USER_ID, ilChatroom\checkPermissionsOfUser(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and ilStr\subStr().
Here is the call graph for this function:
|
private |
Definition at line 181 of file class.ilChatroomViewGUI.php.