27 $DIC->language()->txt(
'cmix_lp_mode_deactivated'),
30 $modeCompleted->
setInfo($DIC->language()->txt(
'cmix_lp_mode_deactivated_info'));
34 $DIC->language()->txt(
'cmix_lp_mode_when_completed'),
37 $modeCompleted->
setInfo($DIC->language()->txt(
'cmix_lp_mode_when_completed_info'));
40 $DIC->language()->txt(
'cmix_lp_mode_with_failed'),
43 $modeCompletedFailed->
setInfo($DIC->language()->txt(
'cmix_lp_mode_with_failed_info'));
44 $modeCompleted->addSubItem($modeCompletedFailed);
47 $DIC->language()->txt(
'cmix_lp_mode_when_passed'),
50 $modePassed->
setInfo($DIC->language()->txt(
'cmix_lp_mode_when_passed_info'));
53 $DIC->language()->txt(
'cmix_lp_mode_with_failed'),
56 $modePassedFailed->
setInfo($DIC->language()->txt(
'cmix_lp_mode_with_failed_info'));
57 $modePassed->addSubItem($modePassedFailed);
60 $DIC->language()->txt(
'cmix_lp_mode_when_passed_or_completed'),
63 $modePassedOrCompleted->
setInfo($DIC->language()->txt(
'cmix_lp_mode_when_passed_or_completed_info'));
64 $modeRadio->
addOption($modePassedOrCompleted);
66 $DIC->language()->txt(
'cmix_lp_mode_with_failed'),
69 $modePassedOrCompletedFailed->
setInfo($DIC->language()->txt(
'cmix_lp_mode_with_failed_info'));
70 $modePassedOrCompleted->addSubItem($modePassedOrCompletedFailed);
78 $modeCompletedFailed->setChecked(
true);
85 $modePassedFailed->setChecked(
true);
92 $modePassedOrCompletedFailed->setChecked(
true);
99 $mainMode = (int) $form->
getInput(
'modus');
100 $failedOpt = (int) $form->
getInput(
'modus_' . $mainMode .
'_failed');
const LP_MODE_CMIX_COMPLETED
This class represents an option in a radio group.
initModeOptions(ilRadioGroupInputGUI $modeRadio)
const LP_MODE_CMIX_COMPLETED_OR_PASSED
const LP_MODE_CMIX_PASSED_WITH_FAILED
const MOVEON_COMPLETED_AND_PASSED
const MOVEON_NOT_APPLICABLE
const LP_MODE_CMIX_PASSED
setInfo($a_info)
Set Info.
const LP_MODE_CMIX_COMPL_WITH_FAILED
fetchModeOption(ilPropertyFormGUI $form)
static getDefaultModes($a_lp_active)
const LP_MODE_DEACTIVATED
const LP_MODE_CMIX_COMPL_OR_PASSED_WITH_FAILED
const MOVEON_COMPLETED_OR_PASSED