ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct (ilCtrl $ctrl, ilAccessHandler $access, ilLanguage $lng, ilTemplate $tpl, ilTree $tree, ilDB $db, ilPluginAdmin $pluginAdmin, ilObjUser $activeUser, ilObjTestGUI $testGUI) | |
Constructor. | |
executeCommand () | |
Command Execution. | |
Public Member Functions inherited from ilTestSettingsGUI | |
__construct (ilObjTest $testOBJ) |
Data Fields | |
const | CMD_SHOW_FORM = 'showForm' |
command constants | |
const | CMD_SAVE_FORM = 'saveForm' |
const | CMD_CONFIRMED_SAVE_FORM = 'confirmedSaveForm' |
const | CMD_SHOW_RESET_TPL_CONFIRM = 'showResetTemplateConfirmation' |
const | CMD_CONFIRMED_RESET_TPL = 'confirmedResetTemplate' |
Protected Member Functions | |
getSettingsTemplateMessageHTML () | |
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, | ||
ilDB | $db, | ||
ilPluginAdmin | $pluginAdmin, | ||
ilObjUser | $activeUser, | ||
ilObjTestGUI | $testGUI | ||
) |
Constructor.
ilCtrl | $ctrl | |
ilAccessHandler | $access | |
ilLanguage | $lng | |
ilTemplate | $tpl | |
ilDB | $db | |
ilObjTestGUI | $testGUI |
Definition at line 73 of file class.ilObjTestSettingsGeneralGUI.php.
References $access, $activeUser, $ctrl, $db, $lng, $pluginAdmin, $testGUI, $tpl, and $tree.
|
private |
ilPropertyFormGUI | $form |
Definition at line 580 of file class.ilObjTestSettingsGeneralGUI.php.
References $section, ilObject\_getAllReferences(), ilPropertyFormGUI\addItem(), IL_CAL_UNIX, ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), and ilDateDurationInputGUI\setShowTime().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 463 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\addItem(), ilMD\getGeneral(), ilObjTest\QUESTION_SET_TYPE_DYNAMIC, ilObjTest\QUESTION_SET_TYPE_FIXED, ilObjTest\QUESTION_SET_TYPE_RANDOM, ilTextAreaInputGUI\setCols(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), and ilRadioOption\setValue().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1035 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\addItem(), ilRadioGroupInputGUI\addOption(), ilCheckboxGroupInputGUI\addOption(), ilCharSelectorConfig\CONTEXT_TEST, isCharSelectorPropertyRequired(), ilTestSettingsGUI\isSectionHeaderRequired(), ilCheckboxInputGUI\setChecked(), ilTextInputGUI\setSize(), and ilCheckboxInputGUI\setValue().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 711 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\addItem(), IL_CAL_TIMESTAMP, IL_CAL_UNIX, ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), and ilCheckboxInputGUI\setValue().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1290 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 652 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 887 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\addItem(), ilCheckboxGroupInputGUI\addOption(), ilNumberInputGUI\allowDecimals(), ilTestSettingsGUI\getTemplateSettingValue(), ilFormPropertyGUI\setInfo(), ilNumberInputGUI\setSize(), and ilCheckboxInputGUI\setValue().
Referenced by buildForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1190 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\addItem(), and ilCheckboxInputGUI\setValue().
Referenced by buildForm().
|
private |
Definition at line 388 of file class.ilObjTestSettingsGeneralGUI.php.
References addAvailabilityProperties(), addGeneralProperties(), addQuestionBehaviourProperties(), addTestAccessProperties(), addTestFinishProperties(), addTestIntroProperties(), addTestRunProperties(), addTestSequenceProperties(), ilObjTest\isSkillManagementGloballyActivated(), ilTestSettingsGUI\removeHiddenItems(), and ilFormPropertyGUI\setInfo().
Referenced by saveFormCmd(), and showFormCmd().
|
private |
Enable all settings - remove template.
Definition at line 351 of file class.ilObjTestSettingsGeneralGUI.php.
References ilUtil\sendSuccess().
|
private |
Definition at line 184 of file class.ilObjTestSettingsGeneralGUI.php.
References saveFormCmd().
ilObjTestSettingsGeneralGUI::executeCommand | ( | ) |
Command Execution.
Definition at line 105 of file class.ilObjTestSettingsGeneralGUI.php.
References $cmd, and ilUtil\sendInfo().
|
protected |
Definition at line 161 of file class.ilObjTestSettingsGeneralGUI.php.
References $tpl.
Referenced by showFormCmd().
|
private |
Definition at line 380 of file class.ilObjTestSettingsGeneralGUI.php.
References $ilSetting.
Referenced by addQuestionBehaviourProperties(), and saveQuestionBehaviourProperties().
|
private |
Definition at line 360 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\getItemByPostVar(), and ilObjTest\isSkillManagementGloballyActivated().
Referenced by saveFormCmd().
|
private |
Definition at line 431 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\getItemByPostVar(), ilObjTest\isSkillManagementGloballyActivated(), saveAvailabilityProperties(), saveGeneralProperties(), saveQuestionBehaviourProperties(), saveTestAccessProperties(), saveTestFinishProperties(), saveTestIntroProperties(), saveTestRunProperties(), and saveTestSequenceSettings().
Referenced by saveFormCmd().
|
private |
ilPropertyFormGUI | $form |
Definition at line 628 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\getItemByPostVar(), and IL_CAL_UNIX.
Referenced by performSaveForm().
|
private |
Definition at line 189 of file class.ilObjTestSettingsGeneralGUI.php.
References $errors, buildForm(), isSkillServiceSettingToBeAdjusted(), performSaveForm(), ilObjTest\QUESTION_SET_TYPE_FIXED, ilUtil\sendFailure(), ilUtil\sendInfo(), ilUtil\sendSuccess(), showConfirmation(), and showFormCmd().
Referenced by confirmedSaveFormCmd().
|
private |
ilPropertyFormGUI | $form |
Definition at line 532 of file class.ilObjTestSettingsGeneralGUI.php.
References ilMD\getGeneral(), ilPropertyFormGUI\getItemByPostVar(), ilMDBase\save(), ilUtil\stripSlashes(), and ilMDBase\update().
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1143 of file class.ilObjTestSettingsGeneralGUI.php.
References ilCharSelectorConfig\CONTEXT_TEST, ilTestSettingsGUI\formPropertyExists(), ilPropertyFormGUI\getItemByPostVar(), and isCharSelectorPropertyRequired().
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 813 of file class.ilObjTestSettingsGeneralGUI.php.
References ilFormat\dateDB2timestamp(), ilTestSettingsGUI\formPropertyExists(), ilPropertyFormGUI\getItemByPostVar(), and IL_CAL_DATETIME.
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1379 of file class.ilObjTestSettingsGeneralGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilTestSettingsGUI\formPropertyExists(), ilPropertyFormGUI\getItemByPostVar(), and REDIRECT_NONE.
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 686 of file class.ilObjTestSettingsGeneralGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), and ilPropertyFormGUI\getItemByPostVar().
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 979 of file class.ilObjTestSettingsGeneralGUI.php.
References ilPropertyFormGUI\getInput(), and ilPropertyFormGUI\getItemByPostVar().
Referenced by performSaveForm().
|
private |
ilPropertyFormGUI | $form |
Definition at line 1249 of file class.ilObjTestSettingsGeneralGUI.php.
References ilTestSettingsGUI\formPropertyExists(), ilPropertyFormGUI\getInput(), and ilPropertyFormGUI\getItemByPostVar().
Referenced by performSaveForm().
|
private |
Definition at line 142 of file class.ilObjTestSettingsGeneralGUI.php.
References CMD_CONFIRMED_SAVE_FORM, and CMD_SHOW_FORM.
Referenced by saveFormCmd().
|
private |
Definition at line 127 of file class.ilObjTestSettingsGeneralGUI.php.
References buildForm(), and getSettingsTemplateMessageHTML().
Referenced by saveFormCmd().
|
private |
Enable all settings - Confirmation.
Definition at line 335 of file class.ilObjTestSettingsGeneralGUI.php.
References CMD_CONFIRMED_RESET_TPL, and CMD_SHOW_FORM.
|
protected |
Definition at line 35 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 53 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 47 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 50 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 56 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
private |
Definition at line 59 of file class.ilObjTestSettingsGeneralGUI.php.
|
protected |
Definition at line 41 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct(), and getSettingsTemplateMessageHTML().
|
protected |
Definition at line 44 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
const ilObjTestSettingsGeneralGUI::CMD_CONFIRMED_RESET_TPL = 'confirmedResetTemplate' |
Definition at line 29 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by showResetTemplateConfirmationCmd().
const ilObjTestSettingsGeneralGUI::CMD_CONFIRMED_SAVE_FORM = 'confirmedSaveForm' |
Definition at line 27 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by showConfirmation().
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(), showConfirmation(), and showResetTemplateConfirmationCmd().
const ilObjTestSettingsGeneralGUI::CMD_SHOW_RESET_TPL_CONFIRM = 'showResetTemplateConfirmation' |
Definition at line 28 of file class.ilObjTestSettingsGeneralGUI.php.