ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Class ilChatroomGUIHandler. More...
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().
|
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 null, and sendJSONResponse().
Referenced by ilChatroomBanGUI\active(), ilChatroomHistoryGUI\byDayExport(), ilChatroomBanGUI\delete(), ilChatroomClearGUI\executeDefault(), ilChatroomInviteUsersToPrivateRoomGUI\inviteById(), ilChatroomKickGUI\main(), and ilChatroomBanGUI\show().
|
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().
|
protected |
Definition at line 149 of file class.ilChatroomGUIHandler.php.
References ilChatroom\byObjectId().
Referenced by ilChatroomClearGUI\executeDefault().
ilChatroomGUIHandler::hasPermission | ( | string | $permission | ) |
Definition at line 189 of file class.ilChatroomGUIHandler.php.
References ilChatroom\checkUserPermissions().
|
protected |
Definition at line 98 of file class.ilChatroomGUIHandler.php.
References ILIAS\FileDelivery\http().
Referenced by ilChatroomViewGUI\joinWithCustomName().
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, and null.
Referenced by ilChatroomBanGUI\active(), and ilChatroomKickGUI\main().
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().
|
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().
|
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().
|
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.