19 declare(strict_types=0);
48 $checkBox =
new ilCheckboxInputGUI($this->
lng->txt(
'crs_my_courses_groups_enabled'), self::SETTING_COURSES_AND_GROUPS_ENABLED);
49 $checkBox->
setInfo($this->
lng->txt(
'crs_my_courses_groups_enabled_info'));
50 $checkBox->setChecked((
bool) $this->
settings->get(self::SETTING_COURSES_AND_GROUPS_ENABLED, 1));
57 $this->
settings->set(self::SETTING_COURSES_AND_GROUPS_ENABLED, (
int) $form->
getInput(self::SETTING_COURSES_AND_GROUPS_ENABLED));
64 $this->
lng->loadLanguageModule(
"crs");
68 return [ [
"editSettings", $fields ] ];
getAdministrationFormId()
addChildContentsTo(ilPropertyFormGUI $form)
saveChildSettings(ilPropertyFormGUI $form)
const SETTING_COURSES_AND_GROUPS_ENABLED
Course Administration Settings.
Membership Administration Settings.
getChildSettingsInfo(int $a_form_id)