4 require_once
'Modules/Test/classes/class.ilTestSettingsGUI.php';
89 $this->tpl = $DIC->ui()->mainTemplate();
95 $this->testOBJ = $testGUI->object;
97 require_once
'Modules/Test/classes/class.ilTestQuestionSetConfigFactory.php';
100 $templateId = $this->testOBJ->getTemplate();
103 include_once
"Services/Administration/classes/class.ilSettingsTemplate.php";
115 if (!$this->access->checkAccess(
'write',
'', $this->testGUI->ref_id)) {
117 $this->ctrl->redirect($this->testGUI,
'infoScreen');
126 $nextClass = $this->ctrl->getNextClass();
128 switch ($nextClass) {
130 $cmd = $this->ctrl->getCmd(self::CMD_SHOW_FORM) .
'Cmd';
139 if ($form === null) {
143 $this->tpl->setContent($this->ctrl->getHTML($form));
157 $errors = !$form->checkInput();
158 $form->setValuesByPost();
182 if ($recalcRequired) {
183 $this->testOBJ->recalculateScores(
true);
188 ilUtil::sendSuccess($this->lng->txt(
"msg_obj_modified"),
true);
189 $this->ctrl->redirect($this, self::CMD_SHOW_FORM);
200 $this->testOBJ->saveToDb(
true);
205 require_once
'Services/Utilities/classes/class.ilConfirmationGUI.php';
208 $confirmation->setHeaderText($this->lng->txt(
'tst_trigger_result_refreshing'));
210 $confirmation->setFormAction($this->ctrl->getFormAction($this));
211 $confirmation->setCancel($this->lng->txt(
'cancel'), self::CMD_SHOW_FORM);
212 $confirmation->setConfirm($this->lng->txt(
'confirm'), self::CMD_CONFIRMED_SAVE_FORM);
217 switch ($item->getType()) {
218 case 'section_header':
224 $datetime = $item->getDate();
227 if (!($date instanceof
ilDate)) {
228 $confirmation->addHiddenItem($item->getPostVar(), $date .
' ' . $time);
230 $confirmation->addHiddenItem($item->getPostVar(), $date);
233 $confirmation->addHiddenItem($item->getPostVar(),
'');
240 $confirmation->addHiddenItem(
"{$item->getPostVar()}[MM]", (
int) $item->getMonths());
241 $confirmation->addHiddenItem(
"{$item->getPostVar()}[dd]", (
int) $item->getDays());
242 $confirmation->addHiddenItem(
"{$item->getPostVar()}[hh]", (
int) $item->getHours());
243 $confirmation->addHiddenItem(
"{$item->getPostVar()}[mm]", (
int) $item->getMinutes());
244 $confirmation->addHiddenItem(
"{$item->getPostVar()}[ss]", (
int) $item->getSeconds());
248 case 'checkboxgroup':
250 if (is_array($item->getValue())) {
251 foreach ($item->getValue() as $option) {
252 $confirmation->addHiddenItem(
"{$item->getPostVar()}[]", $option);
260 if ($item->getChecked()) {
261 $confirmation->addHiddenItem($item->getPostVar(), 1);
268 $confirmation->addHiddenItem($item->getPostVar(), $item->getValue());
272 $this->tpl->setContent($this->ctrl->getHTML($confirmation));
277 include_once
'Services/Form/classes/class.ilPropertyFormGUI.php';
279 $form->setFormAction($this->ctrl->getFormAction($this));
280 $form->setTableWidth(
'100%');
281 $form->setId(
'test_scoring_results');
289 if ($this->settingsTemplate) {
290 foreach ($this->settingsTemplate->getSettings() as $id => $item) {
292 $form->removeItemByPostVar($id);
297 $form->addCommandButton(self::CMD_SAVE_FORM, $this->lng->txt(
'save'));
305 'count_system',
'mc_scoring',
'score_cutting',
'pass_scoring',
'pass_deletion_allowed' 311 $header->setTitle($this->lng->txt(
'test_scoring'));
316 $count_system =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_text_count_system'),
'count_system');
317 $count_system->
addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_count_partial_solutions'), 0,
''));
318 $opt->setInfo($this->lng->txt(
'tst_count_partial_solutions_desc'));
319 $count_system->addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_count_correct_solutions'), 1,
''));
320 $opt->setInfo($this->lng->txt(
'tst_count_correct_solutions_desc'));
321 $count_system->setValue($this->testOBJ->getCountSystem());
325 $mc_scoring =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_score_mcmr_questions'),
'mc_scoring');
326 $mc_scoring->
addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_score_mcmr_zero_points_when_unanswered'), 0,
''));
327 $opt->setInfo($this->lng->txt(
'tst_score_mcmr_zero_points_when_unanswered_desc'));
328 $mc_scoring->addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_score_mcmr_use_scoring_system'), 1,
''));
329 $opt->setInfo($this->lng->txt(
'tst_score_mcmr_use_scoring_system_desc'));
330 $mc_scoring->setValue($this->testOBJ->getMCScoring());
332 $mc_scoring->setDisabled(
true);
337 $score_cutting =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_score_cutting'),
'score_cutting');
339 $opt->setInfo($this->lng->txt(
'tst_score_cut_question_desc'));
340 $score_cutting->addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_score_cut_test'), 1,
''));
341 $opt->setInfo($this->lng->txt(
'tst_score_cut_test_desc'));
342 $score_cutting->setValue($this->testOBJ->getScoreCutting());
343 $form->
addItem($score_cutting);
348 $opt->setInfo($this->lng->txt(
'tst_pass_last_pass_desc'));
349 $pass_scoring->addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_pass_best_pass'), 1,
''));
350 $opt->setInfo($this->lng->txt(
'tst_pass_best_pass_desc'));
351 $pass_scoring->setValue($this->testOBJ->getPassScoring());
355 $passDeletion =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_pass_deletion'),
'pass_deletion_allowed');
357 $passDeletion->addOption(
new ilRadioOption($this->lng->txt(
'tst_pass_deletion_allowed'), 1,
''));
358 $passDeletion->setValue($this->testOBJ->isPassDeletionAllowed());
362 $count_system->setDisabled(
true);
363 $mc_scoring->setDisabled(
true);
364 $score_cutting->setDisabled(
true);
365 $pass_scoring->setDisabled(
true);
376 $this->testOBJ->setCountSystem($form->
getItemByPostVar(
'count_system')->getValue());
380 $this->testOBJ->setMCScoring($form->
getItemByPostVar(
'mc_scoring')->getValue());
384 $this->testOBJ->setScoreCutting($form->
getItemByPostVar(
'score_cutting')->getValue());
388 $this->testOBJ->setPassScoring($form->
getItemByPostVar(
'pass_scoring')->getValue());
393 $this->testOBJ->setPassDeletionAllowed((
bool) $form->
getItemByPostVar(
'pass_deletion_allowed')->getValue());
401 $header_tr->setTitle($this->lng->txt(
'test_results'));
405 $resultsAccessEnabled =
new ilCheckboxInputGUI($this->lng->txt(
'tst_results_access_enabled'),
'results_access_enabled');
406 $resultsAccessEnabled->
setInfo($this->lng->txt(
'tst_results_access_enabled_desc'));
407 $resultsAccessEnabled->setChecked($this->testOBJ->isScoreReportingEnabled());
408 $resultsAccessSetting =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_results_access_setting'),
'results_access_setting');
411 $optAlways =
new ilRadioOption($this->lng->txt(
'tst_results_access_always'));
412 $optAlways->
setInfo($this->lng->txt(
'tst_results_access_always_desc'));
414 $resultsAccessSetting->addOption($optAlways);
415 $optFinished = $opt =
new ilRadioOption($this->lng->txt(
'tst_results_access_finished'));
416 $optFinished->
setInfo($this->lng->txt(
'tst_results_access_finished_desc'));
418 $resultsAccessSetting->addOption($optFinished);
419 $optPassed = $opt =
new ilRadioOption($this->lng->txt(
'tst_results_access_passed'));
420 $optPassed->
setInfo($this->lng->txt(
'tst_results_access_passed_desc'));
422 $resultsAccessSetting->addOption($optPassed);
423 $optionDate =
new ilRadioOption($this->lng->txt(
'tst_results_access_date'));
424 $optionDate->
setInfo($this->lng->txt(
'tst_results_access_date_desc'));
427 $reportingDate =
new ilDateTimeInputGUI($this->lng->txt(
'tst_reporting_date'),
'reporting_date');
429 $reportingDate->setShowTime(
true);
430 if (strlen($this->testOBJ->getReportingDate())) {
435 $optionDate->addSubItem($reportingDate);
436 $resultsAccessSetting->addOption($optionDate);
437 $resultsAccessSetting->setValue($this->testOBJ->getScoreReporting());
438 $resultsAccessEnabled->addSubItem($resultsAccessSetting);
441 $showPassDetails =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_pass_details'),
'pass_details');
442 $showPassDetails->
setInfo($this->lng->txt(
'tst_show_pass_details_desc'));
443 $showPassDetails->setChecked($this->testOBJ->getShowPassDetails());
444 $resultsAccessEnabled->addSubItem($showPassDetails);
447 $chb_only_passed_failed =
new ilCheckboxInputGUI($this->lng->txt(
'tst_results_grading_opt_show_status'),
'grading_status');
448 $chb_only_passed_failed->
setInfo($this->lng->txt(
'tst_results_grading_opt_show_status_desc'));
449 $chb_only_passed_failed->setValue(1);
450 $chb_only_passed_failed->setChecked($this->testOBJ->isShowGradingStatusEnabled());
451 $resultsAccessEnabled->addSubItem($chb_only_passed_failed);
453 $chb_resulting_mark_only =
new ilCheckboxInputGUI($this->lng->txt(
'tst_results_grading_opt_show_mark'),
'grading_mark');
454 $chb_resulting_mark_only->
setInfo($this->lng->txt(
'tst_results_grading_opt_show_mark_desc'));
455 $chb_resulting_mark_only->setValue(1);
456 $chb_resulting_mark_only->setChecked($this->testOBJ->isShowGradingMarkEnabled());
457 $resultsAccessEnabled->addSubItem($chb_resulting_mark_only);
459 $passDeletion =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_pass_deletion'),
'pass_deletion_allowed');
461 $passDeletion->addOption(
new ilRadioOption($this->lng->txt(
'tst_pass_deletion_allowed'), 1,
''));
462 $passDeletion->setValue($this->testOBJ->isPassDeletionAllowed());
463 $resultsAccessEnabled->addSubItem($passDeletion);
465 $form->
addItem($resultsAccessEnabled);
475 $this->testOBJ->setScoreReporting($form->
getItemByPostVar(
'results_access_setting')->getValue());
480 $this->testOBJ->setReportingDate($reporting_date->get(
IL_CAL_FKT_DATE,
'YmdHis'));
482 $this->testOBJ->setReportingDate(
'');
485 $this->testOBJ->setReportingDate(
'');
488 $this->testOBJ->setShowPassDetails($form->
getItemByPostVar(
'pass_details')->getChecked());
491 $this->testOBJ->setShowPassDetails(
false);
492 $this->testOBJ->setReportingDate(
'');
497 $this->testOBJ->setShowGradingStatusEnabled(
503 $this->testOBJ->setShowGradingMarkEnabled(
513 $header_tr->setTitle($this->lng->txt(
'tst_results_details_options'));
517 $showSolutionDetails =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_details'),
'solution_details');
518 $showSolutionDetails->
setInfo($this->lng->txt(
'tst_show_solution_details_desc'));
519 $showSolutionDetails->setChecked($this->testOBJ->getShowSolutionDetails());
520 $form->
addItem($showSolutionDetails);
523 $results_print_best_solution =
new ilCheckboxInputGUI($this->lng->txt(
'tst_results_print_best_solution'),
'print_bs_with_res');
524 $results_print_best_solution->
setInfo($this->lng->txt(
'tst_results_print_best_solution_info'));
525 $results_print_best_solution->setChecked((
bool) $this->testOBJ->isBestSolutionPrintedWithResult());
526 $showSolutionDetails->addSubItem($results_print_best_solution);
529 $showSolutionFeedbackOption =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_feedback'),
'solution_feedback');
530 $showSolutionFeedbackOption->
setInfo($this->lng->txt(
'tst_show_solution_feedback_desc'));
531 $showSolutionFeedbackOption->setChecked($this->testOBJ->getShowSolutionFeedback());
532 $form->
addItem($showSolutionFeedbackOption);
535 $showSuggestedSolutionOption =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_suggested'),
'solution_suggested');
536 $showSuggestedSolutionOption->
setInfo($this->lng->txt(
'tst_show_solution_suggested_desc'));
537 $showSuggestedSolutionOption->setChecked($this->testOBJ->getShowSolutionSuggested());
538 $form->
addItem($showSuggestedSolutionOption);
541 $showSolutionPrintview =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_printview'),
'solution_printview');
542 $showSolutionPrintview->
setInfo($this->lng->txt(
'tst_show_solution_printview_desc'));
543 $showSolutionPrintview->setChecked($this->testOBJ->getShowSolutionPrintview());
544 $form->
addItem($showSolutionPrintview);
547 $solutionCompareInput =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_compare'),
'solution_compare');
548 $solutionCompareInput->
setInfo($this->lng->txt(
'tst_show_solution_compare_desc'));
549 $solutionCompareInput->setChecked($this->testOBJ->getShowSolutionListComparison());
550 $showSolutionPrintview->addSubItem($solutionCompareInput);
553 $solutionAnswersOnly =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_answers_only'),
'solution_answers_only');
554 $solutionAnswersOnly->
setInfo($this->lng->txt(
'tst_show_solution_answers_only_desc'));
555 $solutionAnswersOnly->setChecked($this->testOBJ->getShowSolutionAnswersOnly());
556 $showSolutionPrintview->addSubItem($solutionAnswersOnly);
559 $highscore =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_enabled"),
"highscore_enabled");
561 $highscore->setChecked($this->testOBJ->getHighscoreEnabled());
562 $highscore->setInfo($this->lng->txt(
"tst_highscore_description"));
564 $highscore_tables =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_highscore_mode'),
'highscore_mode');
566 $highscore_tables->setValue($this->testOBJ->getHighscoreMode());
568 $highscore_table_own->
setInfo($this->lng->txt(
'tst_highscore_own_table_description'));
569 $highscore_tables->addOption($highscore_table_own);
571 $highscore_table_other->
setInfo($this->lng->txt(
'tst_highscore_top_table_description'));
572 $highscore_tables->addOption($highscore_table_other);
574 $highscore_table_other->
setInfo($this->lng->txt(
'tst_highscore_all_tables_description'));
575 $highscore_tables->addOption($highscore_table_other);
576 $highscore->addSubItem($highscore_tables);
577 $highscore_top_num =
new ilNumberInputGUI($this->lng->txt(
"tst_highscore_top_num"),
"highscore_top_num");
578 $highscore_top_num->
setSize(4);
579 $highscore_top_num->setRequired(
true);
580 $highscore_top_num->setMinValue(1);
581 $highscore_top_num->setSuffix($this->lng->txt(
"tst_highscore_top_num_unit"));
582 $highscore_top_num->setValue($this->testOBJ->getHighscoreTopNum(null));
583 $highscore_top_num->setInfo($this->lng->txt(
"tst_highscore_top_num_description"));
584 $highscore->addSubItem($highscore_top_num);
585 $highscore_anon =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_anon"),
"highscore_anon");
587 $highscore_anon->setChecked($this->testOBJ->getHighscoreAnon());
588 $highscore_anon->setInfo($this->lng->txt(
"tst_highscore_anon_description"));
589 $highscore->addSubItem($highscore_anon);
590 $highscore_achieved_ts =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_achieved_ts"),
"highscore_achieved_ts");
591 $highscore_achieved_ts->
setValue(1);
592 $highscore_achieved_ts->setChecked($this->testOBJ->getHighscoreAchievedTS());
593 $highscore_achieved_ts->setInfo($this->lng->txt(
"tst_highscore_achieved_ts_description"));
594 $highscore->addSubItem($highscore_achieved_ts);
595 $highscore_score =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_score"),
"highscore_score");
597 $highscore_score->setChecked($this->testOBJ->getHighscoreScore());
598 $highscore_score->setInfo($this->lng->txt(
"tst_highscore_score_description"));
599 $highscore->addSubItem($highscore_score);
600 $highscore_percentage =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_percentage"),
"highscore_percentage");
602 $highscore_percentage->setChecked($this->testOBJ->getHighscorePercentage());
603 $highscore_percentage->setInfo($this->lng->txt(
"tst_highscore_percentage_description"));
604 $highscore->addSubItem($highscore_percentage);
605 $highscore_hints =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_hints"),
"highscore_hints");
607 $highscore_hints->setChecked($this->testOBJ->getHighscoreHints());
608 $highscore_hints->setInfo($this->lng->txt(
"tst_highscore_hints_description"));
609 $highscore->addSubItem($highscore_hints);
610 $highscore_wtime =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_wtime"),
"highscore_wtime");
612 $highscore_wtime->setChecked($this->testOBJ->getHighscoreWTime());
613 $highscore_wtime->setInfo($this->lng->txt(
"tst_highscore_wtime_description"));
614 $highscore->addSubItem($highscore_wtime);
617 $showSignaturePlaceholder =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_signature'),
'solution_signature');
618 $showSignaturePlaceholder->
setInfo($this->lng->txt(
'tst_show_solution_signature_desc'));
619 $showSignaturePlaceholder->setChecked($this->testOBJ->getShowSolutionSignature());
620 if ($this->testOBJ->getAnonymity()) {
621 $showSignaturePlaceholder->setDisabled(
true);
623 $form->
addItem($showSignaturePlaceholder);
626 $showExamId =
new ilCheckboxInputGUI($this->lng->txt(
'examid_in_test_res'),
'examid_in_test_res');
627 $showExamId->
setInfo($this->lng->txt(
'examid_in_test_res_desc'));
628 $showExamId->setChecked($this->testOBJ->isShowExamIdInTestResultsEnabled());
632 $export_settings =
new ilCheckboxInputGUI($this->lng->txt(
'tst_exp_sc_short'),
'exp_sc_short');
633 $export_settings->
setInfo($this->lng->txt(
'tst_exp_sc_short_desc'));
634 $export_settings->setChecked($this->testOBJ->getExportSettingsSingleChoiceShort());
635 $form->
addItem($export_settings);
645 $this->testOBJ->setShowSolutionDetails(1);
646 $this->testOBJ->setPrintBestSolutionWithResult(
650 $this->testOBJ->setShowSolutionDetails(0);
651 $this->testOBJ->setPrintBestSolutionWithResult(0);
656 $this->testOBJ->setShowSolutionFeedback($form->
getItemByPostVar(
'solution_feedback')->getChecked());
660 $this->testOBJ->setShowSolutionSuggested($form->
getItemByPostVar(
'solution_suggested')->getChecked());
665 $this->testOBJ->setShowSolutionPrintview(1);
666 $this->testOBJ->setShowSolutionListComparison(
669 $this->testOBJ->setShowSolutionAnswersOnly(
673 $this->testOBJ->setShowSolutionPrintview(0);
674 $this->testOBJ->setShowSolutionListComparison(
false);
675 $this->testOBJ->setShowSolutionAnswersOnly(0);
681 $this->testOBJ->setHighscoreEnabled((
bool) $form->
getItemByPostVar(
'highscore_enabled')->getChecked());
682 $this->testOBJ->setHighscoreAnon((
bool) $form->
getItemByPostVar(
'highscore_anon')->getChecked());
683 $this->testOBJ->setHighscoreAchievedTS((
bool) $form->
getItemByPostVar(
'highscore_achieved_ts')->getChecked());
684 $this->testOBJ->setHighscoreScore((
bool) $form->
getItemByPostVar(
'highscore_score')->getChecked());
685 $this->testOBJ->setHighscorePercentage((
bool) $form->
getItemByPostVar(
'highscore_percentage')->getChecked());
686 $this->testOBJ->setHighscoreHints((
bool) $form->
getItemByPostVar(
'highscore_hints')->getChecked());
687 $this->testOBJ->setHighscoreWTime((
bool) $form->
getItemByPostVar(
'highscore_wtime')->getChecked());
688 $this->testOBJ->setHighscoreMode((
int) $form->
getItemByPostVar(
'highscore_mode')->getValue());
689 $this->testOBJ->setHighscoreTopNum((
int) $form->
getItemByPostVar(
'highscore_top_num')->getValue());
693 $this->testOBJ->setShowSolutionSignature($form->
getItemByPostVar(
'solution_signature')->getChecked());
697 $this->testOBJ->setShowExamIdInTestResultsEnabled($form->
getItemByPostVar(
'examid_in_test_res')->getChecked());
701 $this->testOBJ->setExportSettingsSingleChoiceShort((
int) $form->
getItemByPostVar(
'exp_sc_short')->getChecked());
707 if ($this->testQuestionSetConfigFactory->getQuestionSetConfig()->isResultTaxonomyFilterSupported()) {
710 $header_misc->setTitle($this->lng->txt(
'misc'));
715 if ($this->testQuestionSetConfigFactory->getQuestionSetConfig()->isResultTaxonomyFilterSupported()) {
719 require_once
'Modules/Test/classes/class.ilTestTaxonomyFilterLabelTranslater.php';
723 $results_presentation =
new ilCheckboxGroupInputGUI($this->lng->txt(
'tst_results_tax_filters'),
'results_tax_filters');
727 $labelTranslater->getTaxonomyTreeLabel($taxonomyId),
733 $results_presentation->setValue($this->testOBJ->getResultFilterTaxIds());
735 $form->
addItem($results_presentation);
746 if ($this->testQuestionSetConfigFactory->getQuestionSetConfig()->isResultTaxonomyFilterSupported()) {
748 $taxFilters = array();
751 $taxFilters = array_intersect(
757 $this->testOBJ->setResultFilterTaxIds($taxFilters);
764 if (!$this->testOBJ->getScoreReporting()) {
770 && $this->testOBJ->getReportingDate() > time()
780 if (!$this->testOBJ->participantDataExist()) {
793 if (!$this->testOBJ->participantDataExist()) {
811 if (is_object($countSystem) && $countSystem->getValue() != $this->testOBJ->getCountSystem()) {
816 if (is_object($mcScoring) && $mcScoring->getValue() != $this->testOBJ->getMCScoring()) {
821 if (is_object($scoreCutting) && $scoreCutting->getValue() != $this->testOBJ->getScoreCutting()) {
826 if (is_object($passScoring) && $passScoring->getValue() != $this->testOBJ->getPassScoring()) {
838 require_once
'Services/Taxonomy/classes/class.ilObjTaxonomy.php';
getAvailableTaxonomyIds()
__construct(ilCtrl $ctrl, ilAccessHandler $access, ilLanguage $lng, ilTree $tree, ilDBInterface $db, ilPluginAdmin $pluginAdmin, ilObjTestGUI $testGUI)
Constructor.
static getSettingsTemplateConfig()
const SCORE_REPORTING_DISABLED
This class represents an option in a radio group.
This class provides processing control methods.
showFormCmd(ilPropertyFormGUI $form=null)
This class represents an option in a checkbox group.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getUsageOfObject($a_obj_id, $a_include_titles=false)
Get usage of object.
performSaveForm(ilPropertyFormGUI $form)
const CMD_SHOW_FORM
command constants
saveScoringSettingsFormSection(ilPropertyFormGUI $form)
const SCORE_REPORTING_AFTER_PASSED
hasScoringSettingsChanged(ilPropertyFormGUI $form)
isScoreRecalculationRequired(ilPropertyFormGUI $form)
setInfo($a_info)
Set Info.
showConfirmation(ilPropertyFormGUI $form)
isScoreReportingAvailable()
Administration class for plugins.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
const SCORE_REPORTING_IMMIDIATLY
executeCommand()
Command Execution.
isSectionHeaderRequired($fields)
const CMD_CONFIRMED_SAVE_FORM
saveResultSummarySettings(ilPropertyFormGUI $form)
saveResultMiscOptionsSettings(ilPropertyFormGUI $form)
saveResultDetailsSettings(ilPropertyFormGUI $form)
areScoringSettingsWritable()
saveFormCmd($isConfirmedSave=false)
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
const SCORE_REPORTING_FINISHED
$testQuestionSetConfigFactory
isHiddenFormItem($formFieldId)
const SCORE_REPORTING_DATE
const HIGHSCORE_SHOW_TOP_TABLE
const HIGHSCORE_SHOW_OWN_TABLE
formPropertyExists(ilPropertyFormGUI $form, $propertyId)
addResultSummarySettingsFormSection(ilPropertyFormGUI $form)
addScoringSettingsFormSection(ilPropertyFormGUI $form)
const HIGHSCORE_SHOW_ALL_TABLES
addResultDetailsSettingsFormSection(ilPropertyFormGUI $form)
Settings template application class.
addMiscSettingsFormSection(ilPropertyFormGUI $form)
Confirmation screen class.