ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct (ilCtrl $ctrl, ilAccessHandler $access, ilLanguage $lng, ilTemplate $tpl, ilTree $tree, ilDBInterface $db, ilPluginAdmin $pluginAdmin, ilObjUser $activeUser, ilObjTestGUI $testGUI) | |
Constructor. More... | |
executeCommand () | |
Command Execution. More... | |
Public Member Functions inherited from ilTestSettingsGUI | |
__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 | |
getSettingsTemplateMessageHTML () | |
addPresentationProperties (ilPropertyFormGUI $form) | |
savePresentationProperties (ilPropertyFormGUI $form) | |
setAnswerFixationSettingsByFormValue ($formValue) | |
getAnswerFixationSettingsAsFormValue () | |
Protected Member Functions inherited from ilTestSettingsGUI | |
getTemplateSettingValue ($settingName) | |
isHiddenFormItem ($formFieldId) | |
isSectionHeaderRequired ($fields) | |
formPropertyExists (ilPropertyFormGUI $form, $propertyId) | |
removeHiddenItems (ilPropertyFormGUI $form) | |
Protected Attributes | |
$ctrl = null | |
$access = null | |
$lng = null | |
$tpl = null | |
$tree = null | |
$db = null | |
$pluginAdmin = null | |
$activeUser = null | |
$testGUI = null | |
Protected Attributes inherited from ilTestSettingsGUI | |
$testOBJ = null | |
$settingsTemplate = null | |
Private Attributes | |
$testQuestionSetConfigFactory = null | |
Definition at line 20 of file class.ilObjTestSettingsGeneralGUI.php.
ilObjTestSettingsGeneralGUI::__construct | ( | ilCtrl | $ctrl, |
ilAccessHandler | $access, | ||
ilLanguage | $lng, | ||
ilTemplate | $tpl, | ||
ilTree | $tree, | ||
ilDBInterface | $db, | ||
ilPluginAdmin | $pluginAdmin, | ||
ilObjUser | $activeUser, | ||
ilObjTestGUI | $testGUI | ||
) |
Constructor.
ilCtrl | $ctrl | |
ilAccessHandler | $access | |
ilLanguage | $lng | |
ilTemplate | $tpl | |
ilDBInterface | $db | |
ilObjTestGUI | $testGUI |
Definition at line 81 of file class.ilObjTestSettingsGeneralGUI.php.
References $access, $activeUser, $ctrl, $db, $lng, $pluginAdmin, $testGUI, $tpl, and $tree.
|
private |
ilPropertyFormGUI | $form |
Definition at line 666 of file class.ilObjTestSettingsGeneralGUI.php.
References $section, ilObject\_getAllReferences(), ilPropertyFormGUI\addItem(), IL_CAL_UNIX, ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setRequired().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 534 of file class.ilObjTestSettingsGeneralGUI.php.
References $header, $title, ilPropertyFormGUI\addItem(), ilMD\getGeneral(), ilObjTest\QUESTION_SET_TYPE_DYNAMIC, 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 733 of file class.ilObjTestSettingsGeneralGUI.php.
References $DIC, $section, and ilPropertyFormGUI\addItem().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1129 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\addItem(), ilRadioGroupInputGUI\addOption(), ilCharSelectorConfig\CONTEXT_TEST, getAnswerFixationSettingsAsFormValue(), isCharSelectorPropertyRequired(), ilTestSettingsGUI\isSectionHeaderRequired(), ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setSize(), and ilCheckboxInputGUI\setValue().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 811 of file class.ilObjTestSettingsGeneralGUI.php.
References $header, $password, ilPropertyFormGUI\addItem(), IL_CAL_UNIX, ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), and ilCheckboxInputGUI\setValue().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1450 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\addItem(), ilRadioGroupInputGUI\addOption(), REDIRECT_ALWAYS, REDIRECT_KIOSK, ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setValue(), ilCheckboxInputGUI\setValue(), and ilRadioOption\setValue().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 757 of file class.ilObjTestSettingsGeneralGUI.php.
References $section, ilPropertyFormGUI\addItem(), ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setRequired(), and ilCheckboxInputGUI\setValue().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 948 of file class.ilObjTestSettingsGeneralGUI.php.
References $header, $values, ilPropertyFormGUI\addItem(), ilCheckboxGroupInputGUI\addOption(), ilNumberInputGUI\allowDecimals(), ilTestSettingsGUI\getTemplateSettingValue(), ilFormPropertyGUI\setInfo(), ilDurationInputGUI\setShowMonths(), ilNumberInputGUI\setSize(), and ilCheckboxInputGUI\setValue().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1343 of file class.ilObjTestSettingsGeneralGUI.php.
References $values, ilPropertyFormGUI\addItem(), ilRadioGroupInputGUI\addOption(), and ilCheckboxInputGUI\setValue().
Referenced by buildForm().
|
private |
Definition at line 437 of file class.ilObjTestSettingsGeneralGUI.php.
References $form, addAvailabilityProperties(), addGeneralProperties(), addPresentationProperties(), addQuestionBehaviourProperties(), addTestAccessProperties(), addTestFinishProperties(), addTestIntroProperties(), addTestRunProperties(), addTestSequenceProperties(), ilOrgUnitGlobalSettings\getInstance(), ilObjectServiceSettingsGUI\initServiceSettingsForm(), ilObjTest\isSkillManagementGloballyActivated(), ilObjectServiceSettingsGUI\ORGU_POSITION_ACCESS, ilTestSettingsGUI\removeHiddenItems(), and ilFormPropertyGUI\setInfo().
Referenced by saveFormCmd(), and showFormCmd().
|
private |
Enable all settings - remove template.
Definition at line 402 of file class.ilObjTestSettingsGeneralGUI.php.
|
private |
Definition at line 197 of file class.ilObjTestSettingsGeneralGUI.php.
References saveFormCmd().
ilObjTestSettingsGeneralGUI::executeCommand | ( | ) |
Command Execution.
Definition at line 112 of file class.ilObjTestSettingsGeneralGUI.php.
References $DIC, ilUtil\sendInfo(), and ilTestTabsManager\TAB_ID_SETTINGS.
|
protected |
Definition at line 1590 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by addQuestionBehaviourProperties().
|
protected |
Definition at line 169 of file class.ilObjTestSettingsGeneralGUI.php.
References $DIC, $title, and $tpl.
Referenced by showFormCmd().
|
private |
Definition at line 428 of file class.ilObjTestSettingsGeneralGUI.php.
References $DIC, and $ilSetting.
Referenced by addQuestionBehaviourProperties(), and saveQuestionBehaviourProperties().
|
private |
Definition at line 411 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\getItemByPostVar(), and ilObjTest\isSkillManagementGloballyActivated().
|
private |
Definition at line 498 of file class.ilObjTestSettingsGeneralGUI.php.
References $form, ilPropertyFormGUI\getItemByPostVar(), ilObjTest\isSkillManagementGloballyActivated(), ilObjectServiceSettingsGUI\ORGU_POSITION_ACCESS, saveAvailabilityProperties(), saveGeneralProperties(), savePresentationProperties(), saveQuestionBehaviourProperties(), saveTestAccessProperties(), saveTestFinishProperties(), saveTestIntroProperties(), saveTestRunProperties(), saveTestSequenceSettings(), and ilObjectServiceSettingsGUI\updateServiceSettingsForm().
Referenced by saveFormCmd().
|
private |
ilPropertyFormGUI | $form |
Definition at line 715 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\getItemByPostVar(), and IL_CAL_UNIX.
Referenced by performSaveForm().
|
private |
Definition at line 202 of file class.ilObjTestSettingsGeneralGUI.php.
References $errors, $form, buildForm(), performSaveForm(), ilObjTest\QUESTION_SET_TYPE_DYNAMIC, ilObjTest\QUESTION_SET_TYPE_FIXED, ilUtil\sendFailure(), ilUtil\sendInfo(), showConfirmation(), and showFormCmd().
Referenced by confirmedSaveFormCmd().
|
private |
ilPropertyFormGUI | $form |
Definition at line 618 of file class.ilObjTestSettingsGeneralGUI.php.
References ilTestSettingsGUI\formPropertyExists(), ilMD\getGeneral(), ilPropertyFormGUI\getItemByPostVar(), ilMDBase\save(), ilUtil\stripSlashes(), and ilMDBase\update().
Referenced by performSaveForm().
|
protected |
ilPropertyFormGUI | $form |
Definition at line 747 of file class.ilObjTestSettingsGeneralGUI.php.
References $DIC.
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1285 of file class.ilObjTestSettingsGeneralGUI.php.
References ilCharSelectorConfig\CONTEXT_TEST, ilTestSettingsGUI\formPropertyExists(), ilPropertyFormGUI\getItemByPostVar(), isCharSelectorPropertyRequired(), and setAnswerFixationSettingsByFormValue().
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 895 of file class.ilObjTestSettingsGeneralGUI.php.
References ilTestSettingsGUI\formPropertyExists(), and ilPropertyFormGUI\getItemByPostVar().
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1534 of file class.ilObjTestSettingsGeneralGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilTestSettingsGUI\formPropertyExists(), ilPropertyFormGUI\getItemByPostVar(), and REDIRECT_NONE.
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 791 of file class.ilObjTestSettingsGeneralGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), and ilPropertyFormGUI\getItemByPostVar().
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1068 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\getInput(), and ilPropertyFormGUI\getItemByPostVar().
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1416 of file class.ilObjTestSettingsGeneralGUI.php.
References ilTestSettingsGUI\formPropertyExists(), ilPropertyFormGUI\getInput(), and ilPropertyFormGUI\getItemByPostVar().
Referenced by performSaveForm().
|
protected |
Definition at line 1568 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by saveQuestionBehaviourProperties().
|
private |
Definition at line 150 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by saveFormCmd().
|
private |
Definition at line 136 of file class.ilObjTestSettingsGeneralGUI.php.
References $form, buildForm(), and getSettingsTemplateMessageHTML().
Referenced by saveFormCmd().
|
private |
Enable all settings - Confirmation.
Definition at line 386 of file class.ilObjTestSettingsGeneralGUI.php.
|
protected |
Definition at line 43 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 61 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 40 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 55 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 46 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 58 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 64 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
private |
Definition at line 67 of file class.ilObjTestSettingsGeneralGUI.php.
|
protected |
Definition at line 49 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct(), and getSettingsTemplateMessageHTML().
|
protected |
Definition at line 52 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
const ilObjTestSettingsGeneralGUI::ANSWER_FIXATION_NONE = 'none' |
Definition at line 31 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by ilTestSettingsTemplateConfig\addQuestionBehaviourProperties(), and ilObjTestGUI\applyTemplate().
const ilObjTestSettingsGeneralGUI::ANSWER_FIXATION_ON_FOLLOWUP_QUESTION = 'followup_question' |
Definition at line 33 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 34 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by ilTestSettingsTemplateConfig\addQuestionBehaviourProperties(), and ilObjTestGUI\applyTemplate().
const ilObjTestSettingsGeneralGUI::ANSWER_FIXATION_ON_INSTANT_FEEDBACK = 'instant_feedback' |
Definition at line 32 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by ilTestSettingsTemplateConfig\addQuestionBehaviourProperties(), and ilObjTestGUI\applyTemplate().
const ilObjTestSettingsGeneralGUI::CMD_CONFIRMED_RESET_TPL = 'confirmedResetTemplate' |
Definition at line 29 of file class.ilObjTestSettingsGeneralGUI.php.
const ilObjTestSettingsGeneralGUI::CMD_CONFIRMED_SAVE_FORM = 'confirmedSaveForm' |
Definition at line 27 of file class.ilObjTestSettingsGeneralGUI.php.
const ilObjTestSettingsGeneralGUI::CMD_SAVE_FORM = 'saveForm' |
Definition at line 26 of file class.ilObjTestSettingsGeneralGUI.php.
const ilObjTestSettingsGeneralGUI::CMD_SHOW_FORM = 'showForm' |
command constants
Definition at line 25 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by ilObjTestGUI\redirectTo_ilObjTestSettingsGeneralGUI_showForm_Object().
const ilObjTestSettingsGeneralGUI::CMD_SHOW_RESET_TPL_CONFIRM = 'showResetTemplateConfirmation' |
Definition at line 28 of file class.ilObjTestSettingsGeneralGUI.php.
const ilObjTestSettingsGeneralGUI::INSTANT_FEEDBACK_TRIGGER_FORCED = 1 |
Definition at line 37 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by ilTestSettingsTemplateConfig\addQuestionBehaviourProperties().
const ilObjTestSettingsGeneralGUI::INSTANT_FEEDBACK_TRIGGER_MANUAL = 0 |
Definition at line 36 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by ilTestSettingsTemplateConfig\addQuestionBehaviourProperties().