4 include_once
"./Services/Membership/classes/class.ilMembershipAdministrationGUI.php" ;
37 $checkBox =
new ilCheckboxInputGUI($this->lng->txt(
'crs_my_courses_groups_enabled'), self::SETTING_COURSES_AND_GROUPS_ENABLED);
38 $checkBox->
setInfo($this->lng->txt(
'crs_my_courses_groups_enabled_info'));
39 $checkBox->setChecked((
bool) $this->
settings->get(self::SETTING_COURSES_AND_GROUPS_ENABLED, 1));
40 $form->addItem($checkBox);
46 $this->
settings->set(self::SETTING_COURSES_AND_GROUPS_ENABLED, (
int) $form->getInput(self::SETTING_COURSES_AND_GROUPS_ENABLED));
53 $this->lng->loadLanguageModule(
"crs");
57 return [ [
"editSettings", $fields ] ];
getAdministrationFormId()
getChildSettingsInfo($a_form_id)
const SETTING_COURSES_AND_GROUPS_ENABLED
addChildContentsTo($form)
Course Administration Settings.
Membership Administration Settings.