ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
executeCommand () | |
Command Execution. More... | |
![]() | |
__construct (ilObjTest $testOBJ) | |
Data Fields | |
const | CMD_SHOW_FORM = 'showForm' |
command constants More... | |
const | CMD_SAVE_FORM = 'saveForm' |
const | CMD_CONFIRMED_SAVE_FORM = 'confirmedSaveForm' |
const | CMD_SHOW_RESET_TPL_CONFIRM = 'showResetTemplateConfirmation' |
const | CMD_CONFIRMED_RESET_TPL = 'confirmedResetTemplate' |
const | ANSWER_FIXATION_NONE = 'none' |
const | ANSWER_FIXATION_ON_INSTANT_FEEDBACK = 'instant_feedback' |
const | ANSWER_FIXATION_ON_FOLLOWUP_QUESTION = 'followup_question' |
const | ANSWER_FIXATION_ON_IFB_OR_FUQST = 'ifb_or_fuqst' |
const | INSTANT_FEEDBACK_TRIGGER_MANUAL = 0 |
const | INSTANT_FEEDBACK_TRIGGER_FORCED = 1 |
Protected Member Functions | |
populateSettingsTemplateMessage () | |
addPresentationProperties (ilPropertyFormGUI $form) | |
savePresentationProperties (ilPropertyFormGUI $form) | |
setAnswerFixationSettingsByFormValue ($formValue) | |
getAnswerFixationSettingsAsFormValue () | |
![]() | |
getTemplateSettingValue ($settingName) | |
isHiddenFormItem ($formFieldId) | |
isSectionHeaderRequired ($fields) | |
formPropertyExists (ilPropertyFormGUI $form, $propertyId) | |
removeHiddenItems (ilPropertyFormGUI $form) | |
Protected Attributes | |
ilCtrlInterface | $ctrl |
ilAccessHandler | $access |
ilLanguage | $lng |
ilGlobalTemplateInterface | $tpl |
ilTree | $tree |
ilDBInterface | $db |
ilComponentRepository | $component_repository |
ilObjUser | $activeUser |
ilObjTestGUI | $testGUI |
![]() | |
ilObjTest | $testOBJ |
ilSettingsTemplate | $settingsTemplate = null |
Private Attributes | |
ilTestQuestionSetConfigFactory | $testQuestionSetConfigFactory |
RequestInterface | $request |
UIFactory | $ui_factory |
UIRenderer | $ui_renderer |
Definition at line 36 of file class.ilObjTestSettingsGeneralGUI.php.
|
private |
ilPropertyFormGUI | $form |
Definition at line 657 of file class.ilObjTestSettingsGeneralGUI.php.
References ilObject\_getAllReferences(), ilPropertyFormGUI\addItem(), IL_CAL_UNIX, ILIAS\Repository\lng(), ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setRequired().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 541 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\addItem(), ilMD\getGeneral(), ILIAS\Repository\lng(), ilObjTest\QUESTION_SET_TYPE_FIXED, ilObjTest\QUESTION_SET_TYPE_RANDOM, ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setDisabled(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), and ilRadioOption\setValue().
Referenced by buildForm().
|
protected |
ilPropertyFormGUI | $form |
Definition at line 722 of file class.ilObjTestSettingsGeneralGUI.php.
References $DIC, ilPropertyFormGUI\addItem(), and ILIAS\Repository\lng().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1132 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\addItem(), ilRadioGroupInputGUI\addOption(), ilCharSelectorConfig\CONTEXT_TEST, getAnswerFixationSettingsAsFormValue(), isCharSelectorPropertyRequired(), ilTestSettingsGUI\isSectionHeaderRequired(), ILIAS\Repository\lng(), ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), and ilCheckboxInputGUI\setValue().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 800 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\addItem(), IL_CAL_UNIX, ILIAS\Repository\lng(), ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), and ilCheckboxInputGUI\setValue().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1453 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\addItem(), ilRadioGroupInputGUI\addOption(), ILIAS\Repository\lng(), REDIRECT_ALWAYS, REDIRECT_KIOSK, ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilCheckboxInputGUI\setValue(), and ilRadioOption\setValue().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 746 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\addItem(), ILIAS\Repository\lng(), ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setRequired(), and ilCheckboxInputGUI\setValue().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 935 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\addItem(), ilCheckboxGroupInputGUI\addOption(), ilNumberInputGUI\allowDecimals(), ilTestSettingsGUI\getTemplateSettingValue(), ILIAS\Repository\lng(), ilFormPropertyGUI\setInfo(), ilDurationInputGUI\setShowMonths(), ilNumberInputGUI\setSize(), and ilCheckboxInputGUI\setValue().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1346 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\addItem(), ilRadioGroupInputGUI\addOption(), ILIAS\Repository\lng(), and ilCheckboxInputGUI\setValue().
Referenced by buildForm().
|
private |
Definition at line 444 of file class.ilObjTestSettingsGeneralGUI.php.
References addAvailabilityProperties(), addGeneralProperties(), addPresentationProperties(), addQuestionBehaviourProperties(), addTestAccessProperties(), addTestFinishProperties(), addTestIntroProperties(), addTestRunProperties(), addTestSequenceProperties(), ILIAS\Repository\ctrl(), ilOrgUnitGlobalSettings\getInstance(), ilObjectServiceSettingsGUI\initServiceSettingsForm(), ilObjTest\isSkillManagementGloballyActivated(), ILIAS\Repository\lng(), ilObjectServiceSettingsGUI\ORGU_POSITION_ACCESS, ilTestSettingsGUI\removeHiddenItems(), and ilFormPropertyGUI\setInfo().
Referenced by saveFormCmd(), and showFormCmd().
|
private |
Enable all settings - remove template.
Definition at line 409 of file class.ilObjTestSettingsGeneralGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
private |
Definition at line 198 of file class.ilObjTestSettingsGeneralGUI.php.
References saveFormCmd().
ilObjTestSettingsGeneralGUI::executeCommand | ( | ) |
Command Execution.
Definition at line 109 of file class.ilObjTestSettingsGeneralGUI.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilTestTabsManager\SUBTAB_ID_GENERAL_SETTINGS, and ilTestTabsManager\TAB_ID_SETTINGS.
|
protected |
Definition at line 1599 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by addQuestionBehaviourProperties().
|
private |
Definition at line 435 of file class.ilObjTestSettingsGeneralGUI.php.
References $DIC, and $ilSetting.
Referenced by addQuestionBehaviourProperties(), and saveQuestionBehaviourProperties().
|
private |
Definition at line 418 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), and ilObjTest\isSkillManagementGloballyActivated().
|
private |
Definition at line 505 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), ilObjTest\isSkillManagementGloballyActivated(), ilObjectServiceSettingsGUI\ORGU_POSITION_ACCESS, saveAvailabilityProperties(), saveGeneralProperties(), savePresentationProperties(), saveQuestionBehaviourProperties(), saveTestAccessProperties(), saveTestFinishProperties(), saveTestIntroProperties(), saveTestRunProperties(), saveTestSequenceSettings(), and ilObjectServiceSettingsGUI\updateServiceSettingsForm().
Referenced by saveFormCmd().
|
protected |
Definition at line 170 of file class.ilObjTestSettingsGeneralGUI.php.
References $message, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by showFormCmd().
|
private |
ilPropertyFormGUI | $form |
Definition at line 704 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), and IL_CAL_UNIX.
Referenced by performSaveForm().
|
private |
Definition at line 204 of file class.ilObjTestSettingsGeneralGUI.php.
References $errors, buildForm(), ILIAS\Repository\ctrl(), IL_CAL_DATETIME, IL_CAL_UNIX, ILIAS\Repository\lng(), performSaveForm(), ilObjTest\QUESTION_SET_TYPE_FIXED, showConfirmation(), and showFormCmd().
Referenced by confirmedSaveFormCmd().
|
private |
ilPropertyFormGUI | $form |
Definition at line 612 of file class.ilObjTestSettingsGeneralGUI.php.
References ilMD\addGeneral(), ilTestSettingsGUI\formPropertyExists(), ilMD\getGeneral(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), ilMDBase\save(), ilUtil\stripSlashes(), and ilMDBase\update().
Referenced by performSaveForm().
|
protected |
ilPropertyFormGUI | $form |
Definition at line 736 of file class.ilObjTestSettingsGeneralGUI.php.
References $DIC.
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1288 of file class.ilObjTestSettingsGeneralGUI.php.
References ilCharSelectorConfig\CONTEXT_TEST, ilTestSettingsGUI\formPropertyExists(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), isCharSelectorPropertyRequired(), and setAnswerFixationSettingsByFormValue().
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 884 of file class.ilObjTestSettingsGeneralGUI.php.
References ilTestSettingsGUI\formPropertyExists(), ilPropertyFormGUI\getInput(), IL_CAL_DATETIME, and IL_CAL_UNIX.
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1539 of file class.ilObjTestSettingsGeneralGUI.php.
References ilTestSettingsGUI\formPropertyExists(), ilPropertyFormGUI\getInput(), and REDIRECT_NONE.
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 780 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\getInput(), and ilPropertyFormGUI\getItemByPostVar().
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1067 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\getInput(), and ilPropertyFormGUI\getItemByPostVar().
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1419 of file class.ilObjTestSettingsGeneralGUI.php.
References ilTestSettingsGUI\formPropertyExists(), and ilPropertyFormGUI\getInput().
Referenced by performSaveForm().
|
protected |
Definition at line 1577 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by saveQuestionBehaviourProperties().
|
private |
Definition at line 151 of file class.ilObjTestSettingsGeneralGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by saveFormCmd().
|
private |
Definition at line 134 of file class.ilObjTestSettingsGeneralGUI.php.
References buildForm(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and populateSettingsTemplateMessage().
Referenced by saveFormCmd().
|
private |
Enable all settings - Confirmation.
Definition at line 394 of file class.ilObjTestSettingsGeneralGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
protected |
Definition at line 56 of file class.ilObjTestSettingsGeneralGUI.php.
|
protected |
Definition at line 62 of file class.ilObjTestSettingsGeneralGUI.php.
|
protected |
Definition at line 61 of file class.ilObjTestSettingsGeneralGUI.php.
|
protected |
Definition at line 55 of file class.ilObjTestSettingsGeneralGUI.php.
|
protected |
Definition at line 60 of file class.ilObjTestSettingsGeneralGUI.php.
|
protected |
Definition at line 57 of file class.ilObjTestSettingsGeneralGUI.php.
|
private |
Definition at line 65 of file class.ilObjTestSettingsGeneralGUI.php.
|
protected |
Definition at line 63 of file class.ilObjTestSettingsGeneralGUI.php.
|
private |
Definition at line 64 of file class.ilObjTestSettingsGeneralGUI.php.
|
protected |
Definition at line 58 of file class.ilObjTestSettingsGeneralGUI.php.
|
protected |
Definition at line 59 of file class.ilObjTestSettingsGeneralGUI.php.
|
private |
Definition at line 66 of file class.ilObjTestSettingsGeneralGUI.php.
|
private |
Definition at line 67 of file class.ilObjTestSettingsGeneralGUI.php.
const ilObjTestSettingsGeneralGUI::ANSWER_FIXATION_NONE = 'none' |
Definition at line 47 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by ilTestSettingsTemplateConfig\addQuestionBehaviourProperties(), and ilObjTestGUI\applyTemplate().
const ilObjTestSettingsGeneralGUI::ANSWER_FIXATION_ON_FOLLOWUP_QUESTION = 'followup_question' |
Definition at line 49 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by ilTestSettingsTemplateConfig\addQuestionBehaviourProperties(), and ilObjTestGUI\applyTemplate().
const ilObjTestSettingsGeneralGUI::ANSWER_FIXATION_ON_IFB_OR_FUQST = 'ifb_or_fuqst' |
Definition at line 50 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by ilTestSettingsTemplateConfig\addQuestionBehaviourProperties(), and ilObjTestGUI\applyTemplate().
const ilObjTestSettingsGeneralGUI::ANSWER_FIXATION_ON_INSTANT_FEEDBACK = 'instant_feedback' |
Definition at line 48 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by ilTestSettingsTemplateConfig\addQuestionBehaviourProperties(), and ilObjTestGUI\applyTemplate().
const ilObjTestSettingsGeneralGUI::CMD_CONFIRMED_RESET_TPL = 'confirmedResetTemplate' |
Definition at line 45 of file class.ilObjTestSettingsGeneralGUI.php.
const ilObjTestSettingsGeneralGUI::CMD_CONFIRMED_SAVE_FORM = 'confirmedSaveForm' |
Definition at line 43 of file class.ilObjTestSettingsGeneralGUI.php.
const ilObjTestSettingsGeneralGUI::CMD_SAVE_FORM = 'saveForm' |
Definition at line 42 of file class.ilObjTestSettingsGeneralGUI.php.
const ilObjTestSettingsGeneralGUI::CMD_SHOW_FORM = 'showForm' |
command constants
Definition at line 41 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by ilObjTestGUI\redirectTo_ilObjTestSettingsGeneralGUI_showForm_Object().
const ilObjTestSettingsGeneralGUI::CMD_SHOW_RESET_TPL_CONFIRM = 'showResetTemplateConfirmation' |
Definition at line 44 of file class.ilObjTestSettingsGeneralGUI.php.
const ilObjTestSettingsGeneralGUI::INSTANT_FEEDBACK_TRIGGER_FORCED = 1 |
Definition at line 53 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by ilTestSettingsTemplateConfig\addQuestionBehaviourProperties().
const ilObjTestSettingsGeneralGUI::INSTANT_FEEDBACK_TRIGGER_MANUAL = 0 |
Definition at line 52 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by ilTestSettingsTemplateConfig\addQuestionBehaviourProperties().