ILIAS
release_8 Revision v8.19
|
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... | |
sendResponse ($response, bool $isJson=false) | |
Sends a json encoded response and exits the php process. 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... | |
exitIfNoRoomModeratePermission (ilChatroom $room, int $subRoom, ilChatroomUser $chatUser) | |
Check if user can moderate a chatroom. More... | |
canModerate (ilChatroom $room, int $subRoom, int $usrId) | |
isMainRoom (int $subRoomId) | |
Protected Attributes | |
ilSetting | $commonSettings |
![]() | |
ilChatroomObjectGUI | $gui |
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 = '/Modules/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 $factory, ILIAS\LTI\ToolProvider\$settings, checkServerConnection(), ilChatroom\checkUserPermissions(), createSettingTemplate(), defaultActions(), ilChatroomAdmin\loadGeneralSettings(), 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.