ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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 |
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().
|
abstract |
Reimplemented in ilChatroomAdminViewGUI, ilChatroomBanGUI, ilChatroomClearGUI, ilChatroomHistoryGUI, ilChatroomInfoScreenGUI, ilChatroomInviteUsersToPrivateRoomGUI, ilChatroomKickGUI, ilChatroomPollGUI, ilChatroomSettingsGUI, and ilChatroomViewGUI.
Referenced by execute().
|
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().
|
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().
|
protected |
Definition at line 151 of file class.ilChatroomGUIHandler.php.
References ilChatroom\byObjectId().
Referenced by ilChatroomClearGUI\executeDefault().
ilChatroomGUIHandler::hasPermission | ( | string | $permission | ) |
Definition at line 191 of file class.ilChatroomGUIHandler.php.
References ilChatroom\checkUserPermissions().
|
protected |
Definition at line 100 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 140 of file class.ilChatroomGUIHandler.php.
References $response.
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 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().
|
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().
|
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().
|
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.