ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilChatroomSettingsGUI. More...
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) | |
![]() | |
__construct (ilChatroomObjectGUI $gui) | |
sendResponse ($response) | |
Sends a json encoded response and exits the php process. More... | |
hasPermission ($permission) | |
Checks for access with ilRbacSystem. More... | |
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... | |
Additional Inherited Members | |
![]() | |
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) | |
![]() | |
$gui | |
$ilUser | |
$ilCtrl | |
$ilLng | |
$webDirectory | |
$upload | |
$rbacsystem | |
$mainTpl | |
$ilias | |
$navigationHistory | |
$tree | |
$tabs | |
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 |
Definition at line 19 of file class.ilChatroomSettingsGUI.php.
ilChatroomSettingsGUI::executeDefault | ( | $requestedMethod | ) |
string | $requestedMethod |
Definition at line 132 of file class.ilChatroomSettingsGUI.php.
References general().
ilChatroomSettingsGUI::general | ( | ilPropertyFormGUI | $settingsForm = null | ) |
Prepares and displays settings form.
ilPropertyFormGUI | $settingsForm |
Definition at line 75 of file class.ilChatroomSettingsGUI.php.
References ilChatroomFormFactory\applyValues(), ilChatroom\checkUserPermissions(), ilCtrl\getFormAction(), IL_CAL_UNIX, ilCtrl\redirectByClass(), ilUtil\sendInfo(), and ilCtrl\setParameterByClass().
Referenced by executeDefault(), and saveGeneral().
ilChatroomSettingsGUI::saveGeneral | ( | ) |
Saves settings fetched from $_POST.
Definition at line 31 of file class.ilChatroomSettingsGUI.php.
References $_POST, general(), IL_CAL_UNIX, ilCtrl\redirect(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.