Definition at line 28 of file class.SettingsGUI.php.
◆ __construct()
◆ edit()
ILIAS\SurveyQuestionPool\Settings\SettingsGUI::edit |
( |
| ) |
|
|
protected |
◆ executeCommand()
ILIAS\SurveyQuestionPool\Settings\SettingsGUI::executeCommand |
( |
| ) |
|
Definition at line 41 of file class.SettingsGUI.php.
43 $ctrl = $this->gui->ctrl();
44 $next_class = $ctrl->getNextClass($this);
45 $cmd = $ctrl->getCmd(
"edit");
47 switch ($next_class) {
49 if (in_array($cmd, [
"edit",
"save"])) {
◆ getEditForm()
ILIAS\SurveyQuestionPool\Settings\SettingsGUI::getEditForm |
( |
| ) |
|
|
protected |
◆ save()
ILIAS\SurveyQuestionPool\Settings\SettingsGUI::save |
( |
| ) |
|
|
protected |
Definition at line 79 of file class.SettingsGUI.php.
References $lng, and ILIAS\SurveyQuestionPool\Settings\SettingsGUI\getEditForm().
81 $mt = $this->gui->ui()->mainTemplate();
83 $ctrl = $this->gui->ctrl();
84 $lng = $this->domain->lng();
86 if ($form->isValid()) {
88 $form->saveStdTitleAndDescription($this->obj_id,
"spl");
89 $form->saveStdTile($this->obj_id,
"spl");
90 $form->saveOnline($this->obj_id,
"spl");
91 $form->saveStdAvailability($this->ref_id);
95 $pool = new \ilObjSurveyQuestionPool($this->ref_id);
98 $mt->setOnScreenMessage(
"success",
$lng->txt(
"msg_obj_modified"),
true);
99 $ctrl->redirectByClass(self::class,
"edit");
101 $mt = $this->gui->ui()->mainTemplate();
102 $mt->setContent($form->render());
◆ $global_settings
ilSetting ILIAS\SurveyQuestionPool\Settings\SettingsGUI::$global_settings |
|
protected |
The documentation for this class was generated from the following file: