|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 |
| ILIAS FileDelivery Services | $file_delivery |
Class ilChatroomGUIHandler.
Definition at line 37 of file class.ilChatroomGUIHandler.php.
| ilChatroomGUIHandler::execute | ( | string | $method | ) |
Definition at line 109 of file class.ilChatroomGUIHandler.php.
References executeDefault().
Here is the call graph for this function:
|
abstract |
Reimplemented in ilChatroomAdminViewGUI, ilChatroomBanGUI, ilChatroomClearGUI, ilChatroomHistoryGUI, ilChatroomInfoScreenGUI, ilChatroomInviteUsersToPrivateRoomGUI, ilChatroomKickGUI, ilChatroomPollGUI, ilChatroomSettingsGUI, and ilChatroomViewGUI.
Referenced by execute().
Here is the caller graph for this function:
|
protected |
Checks if a ilChatroom exists.
If not, it will send a json encoded response with success = false
Definition at line 159 of file class.ilChatroomGUIHandler.php.
References sendJSONResponse().
Referenced by ilChatroomBanGUI\active(), 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 87 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(), and ilChatroomKickGUI\main().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 151 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 191 of file class.ilChatroomGUIHandler.php.
References ilChatroom\checkUserPermissions().
Here is the call graph for this function:
|
protected |
Definition at line 100 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 140 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 127 of file class.ilChatroomGUIHandler.php.
References ilChatroom\checkUserPermissions(), ilCtrl\redirectByClass(), ROOT_FOLDER_ID, and ilCtrl\setParameterByClass().
Referenced by ilChatroomBanGUI\active(), ilChatroomBanGUI\delete(), ilChatroomAdminViewGUI\deliverDocumentation(), ilChatroomClearGUI\executeDefault(), ilChatroomInfoScreenGUI\executeDefault(), ilChatroomInviteUsersToPrivateRoomGUI\inviteById(), ilChatroomViewGUI\joinWithCustomName(), ilChatroomKickGUI\main(), ilChatroomAdminViewGUI\saveClientSettings(), and ilChatroomBanGUI\show().
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 172 of file class.ilChatroomGUIHandler.php.
References $response, and sendResponse().
Referenced by ilChatroomPollGUI\executeDefault(), and exitIfNoRoomExists().
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 180 of file class.ilChatroomGUIHandler.php.
References ILIAS\FileDelivery\http().
Referenced by ilChatroomBanGUI\active(), ilChatroomClearGUI\executeDefault(), ilChatroomInviteUsersToPrivateRoomGUI\getUserList(), ilChatroomInviteUsersToPrivateRoomGUI\inviteById(), ilChatroomKickGUI\main(), and sendJSONResponse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 55 of file class.ilChatroomGUIHandler.php.
|
protected |
Definition at line 53 of file class.ilChatroomGUIHandler.php.
|
protected |
Definition at line 40 of file class.ilChatroomGUIHandler.php.
|
protected |
Definition at line 47 of file class.ilChatroomGUIHandler.php.
|
protected |
Definition at line 41 of file class.ilChatroomGUIHandler.php.
|
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.
|
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.