ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
Class ilChatroomAdminViewGUI. More...
Public Member Functions | |
__construct (ilChatroomObjectGUI $gui) | |
executeDefault (string $requestedMethod) | |
forcePublicRoom () | |
createPublicRoom () | |
saveClientSettings () | |
![]() | |
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 | |
checkServerConnection (array $serverSettings) | |
createSettingTemplate (ilPropertyFormGUI $form) | |
getReadmePath () | |
![]() | |
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 | |
ilSetting | $commonSettings |
![]() | |
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 Member Functions | |
defaultActions () | |
Private Attributes | |
const | CHATROOM_README_PATH = '/components/ILIAS/Chatroom/README.md' |
Class ilChatroomAdminViewGUI.
Definition at line 28 of file class.ilChatroomAdminViewGUI.php.
ilChatroomAdminViewGUI::__construct | ( | ilChatroomObjectGUI | $gui | ) |
Definition at line 34 of file class.ilChatroomAdminViewGUI.php.
References $DIC, and ILIAS\GlobalScreen\Provider\__construct().
|
protected |
Definition at line 89 of file class.ilChatroomAdminViewGUI.php.
References ilChatroomServerConnector\checkServerConnection().
Referenced by saveClientSettings().
ilChatroomAdminViewGUI::createPublicRoom | ( | ) |
Definition at line 83 of file class.ilChatroomAdminViewGUI.php.
Referenced by forcePublicRoom().
|
protected |
Definition at line 99 of file class.ilChatroomAdminViewGUI.php.
References ilPropertyFormGUI\getHTML(), and getReadmePath().
Referenced by saveClientSettings().
|
private |
Definition at line 47 of file class.ilChatroomAdminViewGUI.php.
References forcePublicRoom().
Referenced by saveClientSettings().
ilChatroomAdminViewGUI::executeDefault | ( | string | $requestedMethod | ) |
Definition at line 42 of file class.ilChatroomAdminViewGUI.php.
ilChatroomAdminViewGUI::forcePublicRoom | ( | ) |
Definition at line 55 of file class.ilChatroomAdminViewGUI.php.
References $ref_id, ilObjChatroom\_getPublicRefId(), ilObject\_hasUntrashedReference(), ilObject\_lookupObjId(), createPublicRoom(), and ilObjectFactory\getInstanceByRefId().
Referenced by defaultActions().
|
protected |
Definition at line 109 of file class.ilChatroomAdminViewGUI.php.
References ilUtil\_getHttpPath().
Referenced by createSettingTemplate().
ilChatroomAdminViewGUI::saveClientSettings | ( | ) |
Definition at line 114 of file class.ilChatroomAdminViewGUI.php.
References checkServerConnection(), ilChatroom\checkUserPermissions(), createSettingTemplate(), defaultActions(), ilChatroomAdmin\loadGeneralSettings(), null, ilChatroomGUIHandler\redirectIfNoPermission(), and ilChatroomAdmin\saveClientSettings().
|
protected |
Definition at line 32 of file class.ilChatroomAdminViewGUI.php.
|
private |
Definition at line 30 of file class.ilChatroomAdminViewGUI.php.