|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilChatroomSettingsGUI. More...
Inheritance diagram for ilChatroomSettingsGUI:
Collaboration diagram for ilChatroomSettingsGUI:Public Member Functions | |
| __construct (ilChatroomObjectGUI $gui) | |
| Constructor Requires ilChatroomFormFactory, ilChatroom and ilChatroomInstaller, sets $this->gui using given $gui and calls ilChatroomInstaller::install() method. More... | |
| saveGeneral () | |
| Saves settings fetched from $_POST. More... | |
| general (ilPropertyFormGUI $settingsForm=null) | |
| Prepares and displays settings form. More... | |
| executeDefault ($requestedMethod) | |
Public Member Functions inherited from ilChatroomGUIHandler | |
| __construct (ilChatroomObjectGUI $gui) | |
| execute ($method) | |
| Executes given $method if existing, otherwise executes executeDefault() method. More... | |
| executeDefault ($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) | |
| Sends a json encoded response and exits the php process. More... | |
| hasPermission ($permission) | |
| Checks for access with ilRbacSystem. More... | |
Protected Attributes | |
| $object | |
Protected Attributes inherited from ilChatroomGUIHandler | |
| $gui | |
| $ilUser | |
| $ilCtrl | |
| $ilLng | |
| $webDirectory | |
| $obj_service | |
| $upload | |
| $rbacsystem | |
| $mainTpl | |
| $ilias | |
| $navigationHistory | |
| $tree | |
| $tabs | |
Additional Inherited Members | |
Protected Member Functions inherited from ilChatroomGUIHandler | |
| getRoomByObjectId ($objectId) | |
| exitIfNoRoomExists ($room) | |
| Checks if a ilChatroom exists. More... | |
| exitIfNoRoomPermission ($room, $subRoom, $chat_user) | |
| Check if user can moderate a chatroom. More... | |
| canModerate ($room, $subRoom, $user_id) | |
| Checks if the user has permission to moderate a ilChatroom. More... | |
| isMainRoom ($subRoomId) | |
Class ilChatroomSettingsGUI.
Definition at line 10 of file class.ilChatroomSettingsGUI.php.
| ilChatroomSettingsGUI::__construct | ( | ilChatroomObjectGUI | $gui | ) |
Constructor Requires ilChatroomFormFactory, ilChatroom and ilChatroomInstaller, sets $this->gui using given $gui and calls ilChatroomInstaller::install() method.
| ilChatroomObjectGUI | $gui |
Reimplemented from ilChatroomGUIHandler.
Definition at line 24 of file class.ilChatroomSettingsGUI.php.
References ilChatroomGUIHandler\$gui, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ilChatroomSettingsGUI::executeDefault | ( | $requestedMethod | ) |
| string | $requestedMethod |
| ilDateTimeException |
Reimplemented from ilChatroomGUIHandler.
Definition at line 152 of file class.ilChatroomSettingsGUI.php.
References general().
Here is the call graph for this function:| ilChatroomSettingsGUI::general | ( | ilPropertyFormGUI | $settingsForm = null | ) |
Prepares and displays settings form.
| ilPropertyFormGUI | $settingsForm |
| ilDateTimeException |
Definition at line 83 of file class.ilChatroomSettingsGUI.php.
References ilChatroomFormFactory\applyValues(), ilChatroom\checkUserPermissions(), ilCtrl\getFormAction(), IL_CAL_UNIX, ilCtrl\redirectByClass(), ROOT_FOLDER_ID, ilUtil\sendInfo(), and ilCtrl\setParameterByClass().
Referenced by executeDefault(), and saveGeneral().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomSettingsGUI::saveGeneral | ( | ) |
Saves settings fetched from $_POST.
Definition at line 36 of file class.ilChatroomSettingsGUI.php.
References $_POST, general(), IL_CAL_UNIX, ilCtrl\redirect(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Here is the call graph for this function:
|
protected |
Definition at line 15 of file class.ilChatroomSettingsGUI.php.