| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Class ilChatroomGUIHandler. More...
 Inheritance diagram for ilChatroomGUIHandler:
 Collaboration diagram for ilChatroomGUIHandler:Public Member Functions | |
| 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 | |
| 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... | |
Protected Attributes | |
| 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 ilChatroomGUIHandler.
Definition at line 37 of file class.ilChatroomGUIHandler.php.
| ilChatroomGUIHandler::execute | ( | string | $method | ) | 
Definition at line 107 of file class.ilChatroomGUIHandler.php.
References executeDefault().
 Here is the call graph for this function:
      
  | 
  abstract | 
      
  | 
  protected | 
Checks if a ilChatroom exists.
If not, it will send a json encoded response with success = false
Definition at line 157 of file class.ilChatroomGUIHandler.php.
References sendJSONResponse().
Referenced by ilChatroomBanGUI\active(), ilChatroomHistoryGUI\byDayExport(), ilChatroomBanGUI\delete(), ilChatroomClearGUI\executeDefault(), ilChatroomInviteUsersToPrivateRoomGUI\inviteById(), ilChatroomKickGUI\main(), and ilChatroomBanGUI\show().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
| mixed | $default | 
Definition at line 85 of file class.ilChatroomGUIHandler.php.
References ILIAS\FileDelivery\http().
Referenced by ilChatroomBanGUI\active(), ilChatroomInviteUsersToPrivateRoomGUI\byId(), ilChatroomInviteUsersToPrivateRoomGUI\byLogin(), ilChatroomBanGUI\delete(), ilChatroomInviteUsersToPrivateRoomGUI\getUserList(), ilChatroomInviteUsersToPrivateRoomGUI\inviteById(), ilChatroomViewGUI\joinWithCustomName(), ilChatroomKickGUI\main(), and ilChatroomViewGUI\showRoom().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 149 of file class.ilChatroomGUIHandler.php.
References ilChatroom\byObjectId().
Referenced by ilChatroomClearGUI\executeDefault().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilChatroomGUIHandler::hasPermission | ( | string | $permission | ) | 
Definition at line 189 of file class.ilChatroomGUIHandler.php.
References ilChatroom\checkUserPermissions().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 98 of file class.ilChatroomGUIHandler.php.
References ILIAS\FileDelivery\http().
Referenced by ilChatroomViewGUI\joinWithCustomName().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilChatroomGUIHandler::isSuccessful | ( | $response | ) | 
Checks for success param in an json decoded response.
| string | false | $response | 
Definition at line 138 of file class.ilChatroomGUIHandler.php.
References $response.
Referenced by ilChatroomBanGUI\active(), and ilChatroomKickGUI\main().
 Here is the caller graph for this function:| ilChatroomGUIHandler::redirectIfNoPermission | ( | $permission | ) | 
Checks for requested permissions and redirects if the permission check failed.
| string[]|string | $permission | 
Definition at line 125 of file class.ilChatroomGUIHandler.php.
References ilChatroom\checkUserPermissions(), and ROOT_FOLDER_ID.
Referenced by ilChatroomBanGUI\active(), ilChatroomInfoScreenGUI\executeDefault(), ilChatroomClearGUI\executeDefault(), ilChatroomViewGUI\executeDefault(), ilChatroomInviteUsersToPrivateRoomGUI\inviteById(), ilChatroomViewGUI\joinWithCustomName(), ilChatroomKickGUI\main(), ilChatroomAdminViewGUI\saveClientSettings(), ilChatroomBanGUI\show(), ilChatroomHistoryGUI\showMessages(), ilChatroomViewGUI\showRoom(), and ilChatroomViewGUI\toggleAutoMessageDisplayState().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Sends a json encoded response and exits the php process.
Definition at line 170 of file class.ilChatroomGUIHandler.php.
References $response, and sendResponse().
Referenced by ilChatroomPollGUI\executeDefault(), exitIfNoRoomExists(), and ilChatroomViewGUI\lostConnection().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Sends a response and exits the php process.
Definition at line 178 of file class.ilChatroomGUIHandler.php.
References ILIAS\FileDelivery\http().
Referenced by ilChatroomBanGUI\active(), ilChatroomClearGUI\executeDefault(), ilChatroomInviteUsersToPrivateRoomGUI\getUserList(), ilChatroomInviteUsersToPrivateRoomGUI\inviteById(), ilChatroomKickGUI\main(), sendJSONResponse(), and ilChatroomViewGUI\userEntry().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 53 of file class.ilChatroomGUIHandler.php.
Referenced by ilChatroomBanGUI\show().
      
  | 
  protected | 
Definition at line 40 of file class.ilChatroomGUIHandler.php.
Referenced by ilChatroomBanGUI\show().
      
  | 
  protected | 
Definition at line 47 of file class.ilChatroomGUIHandler.php.
      
  | 
  protected | 
Definition at line 41 of file class.ilChatroomGUIHandler.php.
Referenced by ilChatroomBanGUI\show().
      
  | 
  protected | 
Definition at line 39 of file class.ilChatroomGUIHandler.php.
      
  | 
  protected | 
Definition at line 46 of file class.ilChatroomGUIHandler.php.
      
  | 
  protected | 
Definition at line 48 of file class.ilChatroomGUIHandler.php.
      
  | 
  protected | 
Definition at line 43 of file class.ilChatroomGUIHandler.php.
      
  | 
  protected | 
Definition at line 45 of file class.ilChatroomGUIHandler.php.
      
  | 
  protected | 
Definition at line 54 of file class.ilChatroomGUIHandler.php.
      
  | 
  protected | 
Definition at line 50 of file class.ilChatroomGUIHandler.php.
      
  | 
  protected | 
Definition at line 49 of file class.ilChatroomGUIHandler.php.
      
  | 
  protected | 
Definition at line 51 of file class.ilChatroomGUIHandler.php.
Referenced by ilChatroomBanGUI\show().
      
  | 
  protected | 
Definition at line 52 of file class.ilChatroomGUIHandler.php.
      
  | 
  protected | 
Definition at line 44 of file class.ilChatroomGUIHandler.php.
      
  | 
  protected | 
Definition at line 42 of file class.ilChatroomGUIHandler.php.