ILIAS
Release_4_4_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. |
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 | |
getTemplateSettingValue ($settingName) | |
getSettingsTemplateMessageHTML () |
Protected Attributes | |
$ctrl = null | |
$access = null | |
$lng = null | |
$tpl = null | |
$tree = null | |
$db = null | |
$pluginAdmin = null | |
$activeUser = null | |
$testOBJ = null | |
$testGUI = null | |
$settingsTemplate = null |
Private Member Functions | |
showFormCmd (ilPropertyFormGUI $form=null) | |
confirmedSaveFormCmd () | |
fixPostValuesForInconsistentFormObjectTree (ilPropertyFormGUI $form) | |
saveFormCmd ($isConfirmedSave=false) | |
performSaveForm (ilPropertyFormGUI $form) | |
showConfirmation (ilPropertyFormGUI $form, $oldQuestionSetType, $newQuestionSetType, $hasQuestionsWithoutQuestionpool) | |
buildForm () | |
showResetTemplateConfirmationCmd () | |
Enable all settings - Confirmation. | |
confirmedResetTemplateCmd () | |
Enable all settings - remove template. | |
formShowGeneralSection ($templateData) | |
formShowBeginningEndingInformation ($templateData) | |
formShowSessionSection ($templateData) | |
formShowPresentationSection ($templateData) | |
formShowSequenceSection ($templateData) | |
formShowNotificationSection ($templateData) | |
formShowTestExecutionSection ($templateData) | |
formShowParticipantSection ($templateData) | |
formsectionHasVisibleFields ($templateData, $fields) |
Private Attributes | |
$testQuestionSetConfigFactory = null | |
$participantDataExist = null |
Definition at line 15 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 88 of file class.ilObjTestSettingsGeneralGUI.php.
References $access, $activeUser, $ctrl, $db, $lng, $pluginAdmin, $testGUI, $tpl, $tree, and ilObjAssessmentFolderGUI\getSettingsTemplateConfig().
|
private |
Definition at line 610 of file class.ilObjTestSettingsGeneralGUI.php.
References $ilSetting, $section, $total, ilObject\_getAllReferences(), ilRadioGroupInputGUI\addOption(), ilCheckboxGroupInputGUI\addOption(), ilCharSelectorConfig\CONTEXT_TEST, formShowBeginningEndingInformation(), formShowGeneralSection(), formShowNotificationSection(), formShowParticipantSection(), formShowPresentationSection(), formShowSequenceSection(), formShowSessionSection(), formShowTestExecutionSection(), ilMD\getGeneral(), getTemplateSettingValue(), IL_CAL_TIMESTAMP, IL_CAL_UNIX, ilObjTest\QUESTION_SET_TYPE_DYNAMIC, ilObjTest\QUESTION_SET_TYPE_FIXED, ilObjTest\QUESTION_SET_TYPE_RANDOM, REDIRECT_ALWAYS, REDIRECT_KIOSK, ilCheckboxInputGUI\setChecked(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setDisabled(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilDateDurationInputGUI\setShowTime(), ilTextInputGUI\setSize(), ilTextInputGUI\setValue(), ilCheckboxInputGUI\setValue(), ilRadioOption\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by saveFormCmd(), and showFormCmd().
|
private |
Enable all settings - remove template.
Definition at line 1254 of file class.ilObjTestSettingsGeneralGUI.php.
References ilUtil\sendSuccess().
|
private |
Definition at line 164 of file class.ilObjTestSettingsGeneralGUI.php.
References saveFormCmd().
ilObjTestSettingsGeneralGUI::executeCommand | ( | ) |
Command Execution.
Definition at line 127 of file class.ilObjTestSettingsGeneralGUI.php.
References $cmd, and ilUtil\sendInfo().
|
private |
Definition at line 169 of file class.ilObjTestSettingsGeneralGUI.php.
References $_POST, and ilPropertyFormGUI\getItemByPostVar().
Referenced by saveFormCmd().
|
private |
Definition at line 1363 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by formShowNotificationSection(), formShowParticipantSection(), and formShowTestExecutionSection().
|
private |
Definition at line 1309 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by buildForm().
|
private |
Definition at line 1303 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by buildForm().
|
private |
Definition at line 1333 of file class.ilObjTestSettingsGeneralGUI.php.
References formsectionHasVisibleFields().
Referenced by buildForm().
|
private |
Definition at line 1353 of file class.ilObjTestSettingsGeneralGUI.php.
References formsectionHasVisibleFields().
Referenced by buildForm().
|
private |
Definition at line 1321 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by buildForm().
|
private |
Definition at line 1327 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by buildForm().
|
private |
Definition at line 1315 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by buildForm().
|
private |
Definition at line 1342 of file class.ilObjTestSettingsGeneralGUI.php.
References formsectionHasVisibleFields().
Referenced by buildForm().
|
protected |
Definition at line 1280 of file class.ilObjTestSettingsGeneralGUI.php.
References $tpl.
Referenced by showFormCmd().
|
protected |
Definition at line 1263 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by buildForm().
|
private |
Definition at line 310 of file class.ilObjTestSettingsGeneralGUI.php.
References $ilSetting, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilCharSelectorConfig\CONTEXT_TEST, ilFormat\dateDB2timestamp(), ilMD\getGeneral(), ilPropertyFormGUI\getItemByPostVar(), IL_CAL_DATETIME, IL_CAL_UNIX, REDIRECT_NONE, ilMDBase\save(), ilUtil\sendInfo(), ilUtil\stripSlashes(), and ilMDBase\update().
Referenced by saveFormCmd().
|
private |
Definition at line 189 of file class.ilObjTestSettingsGeneralGUI.php.
References $errors, buildForm(), fixPostValuesForInconsistentFormObjectTree(), performSaveForm(), ilObjTest\QUESTION_SET_TYPE_FIXED, ilUtil\sendFailure(), ilUtil\sendInfo(), ilUtil\sendSuccess(), showConfirmation(), and showFormCmd().
Referenced by confirmedSaveFormCmd().
|
private |
Definition at line 591 of file class.ilObjTestSettingsGeneralGUI.php.
References CMD_CONFIRMED_SAVE_FORM, and CMD_SHOW_FORM.
Referenced by saveFormCmd().
|
private |
Definition at line 149 of file class.ilObjTestSettingsGeneralGUI.php.
References buildForm(), and getSettingsTemplateMessageHTML().
Referenced by saveFormCmd().
|
private |
Enable all settings - Confirmation.
Definition at line 1238 of file class.ilObjTestSettingsGeneralGUI.php.
References CMD_CONFIRMED_RESET_TPL, and CMD_SHOW_FORM.
|
protected |
Definition at line 30 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 48 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 27 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 42 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
private |
Definition at line 74 of file class.ilObjTestSettingsGeneralGUI.php.
|
protected |
Definition at line 45 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 64 of file class.ilObjTestSettingsGeneralGUI.php.
|
protected |
Definition at line 54 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
|
protected |
Definition at line 51 of file class.ilObjTestSettingsGeneralGUI.php.
|
private |
Definition at line 57 of file class.ilObjTestSettingsGeneralGUI.php.
|
protected |
Definition at line 36 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct(), and getSettingsTemplateMessageHTML().
|
protected |
Definition at line 39 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by __construct().
const ilObjTestSettingsGeneralGUI::CMD_CONFIRMED_RESET_TPL = 'confirmedResetTemplate' |
Definition at line 24 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by showResetTemplateConfirmationCmd().
const ilObjTestSettingsGeneralGUI::CMD_CONFIRMED_SAVE_FORM = 'confirmedSaveForm' |
Definition at line 22 of file class.ilObjTestSettingsGeneralGUI.php.
Referenced by showConfirmation().
const ilObjTestSettingsGeneralGUI::CMD_SAVE_FORM = 'saveForm' |
Definition at line 21 of file class.ilObjTestSettingsGeneralGUI.php.
const ilObjTestSettingsGeneralGUI::CMD_SHOW_FORM = 'showForm' |
command constants
Definition at line 20 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 23 of file class.ilObjTestSettingsGeneralGUI.php.