| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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... | |
| 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... | |
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 $showAutoMessages) | |
| 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) | |
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 | 
      
  | 
  private | 
Calls ilUtil::sendFailure method using given $message as parameter.
Definition at line 300 of file class.ilChatroomViewGUI.php.
Referenced by executeDefault(), and showRoom().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 203 of file class.ilChatroomViewGUI.php.
References $id, $messages, checkbox(), legacy(), panel(), and ILIAS\UI\Implementation\Component\withOnLoadCode().
Referenced by showRoom().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 254 of file class.ilChatroomViewGUI.php.
Referenced by chatFunctions().
 Here is the caller graph for this function:| 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.
Definition at line 392 of file class.ilChatroomViewGUI.php.
References ilChatroom\byObjectId(), cancelJoin(), ilChatroomGUIHandler\redirectIfNoPermission(), setupTemplate(), showNameSelection(), and showRoom().
 Here is the call graph for this function:| ilChatroomViewGUI::joinWithCustomName | ( | ) | 
Definition at line 33 of file class.ilChatroomViewGUI.php.
References ilChatroom\byObjectId(), ilChatroomGUIHandler\getRequestValue(), ilChatroomGUIHandler\hasRequestValue(), ilChatroomGUIHandler\redirectIfNoPermission(), ILIAS\Repository\refinery(), setupTemplate(), showNameSelection(), and showRoom().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 259 of file class.ilChatroomViewGUI.php.
Referenced by chatFunctions(), sendMessageForm(), showRoom(), and userList().
 Here is the caller graph for this function:| ilChatroomViewGUI::logout | ( | ) | 
Definition at line 426 of file class.ilChatroomViewGUI.php.
| ilChatroomViewGUI::lostConnection | ( | ) | 
Definition at line 433 of file class.ilChatroomViewGUI.php.
References $DIC, $response, ANONYMOUS_USER_ID, ilChatroom\byObjectId(), ilUserUtil\getNamePresentation(), ilChatroomGUIHandler\getRequestValue(), ilChatroomUser\getUserInformation(), ilChatroomGUIHandler\hasRequestValue(), ILIAS\FileDelivery\http(), ILIAS\UI\examples\Symbol\Glyph\Login\login(), ILIAS\Repository\refinery(), ilChatroomGUIHandler\sendResponse(), ilWACSignedPath\setTokenMaxLifetimeInSeconds(), and ilStr\subStr().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 264 of file class.ilChatroomViewGUI.php.
Referenced by chatFunctions(), showRoom(), and userList().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 311 of file class.ilChatroomViewGUI.php.
References ilUtil\getImagePath(), and HTML_Template_IT\setVariable().
Referenced by showRoom().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 365 of file class.ilChatroomViewGUI.php.
References HTML_Template_IT\setVariable().
Referenced by userList().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 305 of file class.ilChatroomViewGUI.php.
References HTML_Template_IT\setVariable().
Referenced by sendMessageForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 187 of file class.ilChatroomViewGUI.php.
References legacy(), and renderSendMessageBox().
Referenced by showRoom().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Adds CSS and JavaScript files that should be included in the header.
Definition at line 79 of file class.ilChatroomViewGUI.php.
Referenced by executeDefault(), and joinWithCustomName().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 370 of file class.ilChatroomViewGUI.php.
References ilChatroomUser\getChatNameSuggestions().
Referenced by executeDefault(), and joinWithCustomName().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Prepares and displays chatroom and connects user to it.
Definition at line 94 of file class.ilChatroomViewGUI.php.
References $ref_id, $response, $scope, ILIAS\LTI\ToolProvider\$settings, cancelJoin(), chatFunctions(), ilChatroom\checkUserPermissions(), ilChatroom\connectUser(), ilChatroomUser\enabledBroadcastTyping(), ilChatroom\getConnectedUsers(), ilUtil\getImagePath(), ilChatroom\getLastMessages(), ilChatroomGUIHandler\getRequestValue(), ilChatroom\getRoomId(), ilChatroom\getSetting(), ilChatroomUser\getUserId(), ilChatroomUser\getUsername(), ilModalGUI\initJS(), ilChatroom\isSubscribed(), ilChatroom\isUserBanned(), legacy(), ILIAS\Repository\navigationHistory(), panel(), ilChatroomGUIHandler\redirectIfNoPermission(), ILIAS\Repository\refinery(), renderLanguageVariables(), sendMessageForm(), and userList().
Referenced by executeDefault(), and joinWithCustomName().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilChatroomViewGUI::toggleAutoMessageDisplayState | ( | ) | 
Definition at line 271 of file class.ilChatroomViewGUI.php.
References ilObjUser\_writePref(), ilChatroom\byObjectId(), ILIAS\FileDelivery\http(), ilChatroomGUIHandler\redirectIfNoPermission(), and ILIAS\Repository\refinery().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 195 of file class.ilChatroomViewGUI.php.
References legacy(), panel(), and renderRightUsersBlock().
Referenced by showRoom().
 Here is the call graph for this function:
 Here is the caller graph for this function: