ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilChatroomSettingsTask. More...
Public Member Functions | |
__construct (ilDBayObjectGUI $gui) | |
Constructor. | |
general (ilPropertyFormGUI $settingsForm=null) | |
Prepares and displays settings form. | |
saveGeneral () | |
Saves settings fetched from $_POST. | |
executeDefault ($requestedMethod) | |
executeDefault | |
Public Member Functions inherited from ilDBayTaskHandler | |
execute ($method) | |
Executes given $method if existing, otherwise executes executeDefault() method. |
Private Attributes | |
$gui |
Class ilChatroomSettingsTask.
Definition at line 13 of file class.ilChatroomSettingsTask.php.
ilChatroomSettingsTask::__construct | ( | ilDBayObjectGUI | $gui | ) |
Constructor.
Requires ilChatroomFormFactory, ilChatroom and ilChatroomInstaller, sets $this->gui using given $gui and calls ilChatroomInstaller::install() method.
ilDBayObjectGUI | $gui |
Reimplemented from ilDBayTaskHandler.
Definition at line 27 of file class.ilChatroomSettingsTask.php.
References $gui.
ilChatroomSettingsTask::executeDefault | ( | $requestedMethod | ) |
executeDefault
string | $requestedMethod |
Reimplemented from ilDBayTaskHandler.
Definition at line 143 of file class.ilChatroomSettingsTask.php.
References general().
ilChatroomSettingsTask::general | ( | ilPropertyFormGUI | $settingsForm = null | ) |
Prepares and displays settings form.
ilLanguage $lng ilTemplate $tpl ilCtrl2 $ilCtrl
ilPropertyFormGUI | $settingsForm |
Definition at line 45 of file class.ilChatroomSettingsTask.php.
References $ilCtrl, $lng, $tpl, ilChatroomFormFactory\applyValues(), ilChatroom\checkUserPermissions(), ilUtil\redirect(), and ilUtil\sendInfo().
Referenced by executeDefault(), and saveGeneral().
ilChatroomSettingsTask::saveGeneral | ( | ) |
Saves settings fetched from $_POST.
ilCtrl2 $ilCtrl
Definition at line 104 of file class.ilChatroomSettingsTask.php.
References $_POST, $ilCtrl, $lng, general(), and ilUtil\sendSuccess().
|
private |
Definition at line 16 of file class.ilChatroomSettingsTask.php.
Referenced by __construct().