4 require_once
'Modules/Test/classes/class.ilTestSettingsGUI.php';
95 $this->testOBJ = $testGUI->object;
97 require_once
'Modules/Test/classes/class.ilTestQuestionSetConfigFactory.php';
100 $templateId = $this->testOBJ->getTemplate();
104 include_once
"Services/Administration/classes/class.ilSettingsTemplate.php";
116 if (!$this->access->checkAccess(
'write',
'', $this->testGUI->ref_id))
119 $this->ctrl->redirect($this->testGUI,
'infoScreen');
124 $nextClass = $this->ctrl->getNextClass();
129 $cmd = $this->ctrl->getCmd(self::CMD_SHOW_FORM).
'Cmd';
143 $this->tpl->setContent( $this->ctrl->getHTML($form) );
157 $errors = !$form->checkInput();
158 $form->setValuesByPost();
181 $this->testOBJ->recalculateScores(
true);
187 $this->ctrl->redirect($this, self::CMD_SHOW_FORM);
198 $this->testOBJ->saveToDb(
true);
203 require_once
'Services/Utilities/classes/class.ilConfirmationGUI.php';
206 $confirmation->setHeaderText($this->lng->txt(
'tst_trigger_result_refreshing'));
208 $confirmation->setFormAction( $this->ctrl->getFormAction($this) );
209 $confirmation->setCancel($this->lng->txt(
'cancel'), self::CMD_SHOW_FORM);
210 $confirmation->setConfirm($this->lng->txt(
'confirm'), self::CMD_CONFIRMED_SAVE_FORM);
216 switch( $item->getType() )
218 case 'section_header':
224 list($date, $time) = explode(
' ', $item->getDate()->get(
IL_CAL_DATETIME));
228 list($y, $m,
$d) = explode(
'-', $date);
230 $confirmation->addHiddenItem(
"{$item->getPostVar()}[date][y]", $y);
231 $confirmation->addHiddenItem(
"{$item->getPostVar()}[date][m]", $m);
232 $confirmation->addHiddenItem(
"{$item->getPostVar()}[date][d]",
$d);
234 if( $item->getShowTime() )
236 list($h, $m, $s) = explode(
':', $time);
238 $confirmation->addHiddenItem(
"{$item->getPostVar()}[time][h]", $h);
239 $confirmation->addHiddenItem(
"{$item->getPostVar()}[time][m]", $m);
240 $confirmation->addHiddenItem(
"{$item->getPostVar()}[time][s]", $s);
245 $confirmation->addHiddenItem(
"{$item->getPostVar()}[date]", $date);
246 $confirmation->addHiddenItem(
"{$item->getPostVar()}[time]", $time);
253 $confirmation->addHiddenItem(
"{$item->getPostVar()}[MM]", (
int)$item->getMonths());
254 $confirmation->addHiddenItem(
"{$item->getPostVar()}[dd]", (
int)$item->getDays());
255 $confirmation->addHiddenItem(
"{$item->getPostVar()}[hh]", (
int)$item->getHours());
256 $confirmation->addHiddenItem(
"{$item->getPostVar()}[mm]", (
int)$item->getMinutes());
257 $confirmation->addHiddenItem(
"{$item->getPostVar()}[ss]", (
int)$item->getSeconds());
261 case 'checkboxgroup':
263 if( is_array($item->getValue()) )
265 foreach( $item->getValue() as $option )
267 $confirmation->addHiddenItem(
"{$item->getPostVar()}[]", $option);
275 if( $item->getChecked() )
277 $confirmation->addHiddenItem($item->getPostVar(), 1);
284 $confirmation->addHiddenItem($item->getPostVar(), $item->getValue());
288 $this->tpl->setContent( $this->ctrl->getHTML($confirmation) );
293 include_once
'Services/Form/classes/class.ilPropertyFormGUI.php';
295 $form->setFormAction($this->ctrl->getFormAction($this));
296 $form->setTableWidth(
'100%');
297 $form->setId(
'test_scoring_results');
305 if($this->settingsTemplate)
307 foreach($this->settingsTemplate->getSettings() as $id => $item)
311 $form->removeItemByPostVar($id);
316 $form->addCommandButton(self::CMD_SAVE_FORM, $this->lng->txt(
'save'));
324 'count_system',
'mc_scoring',
'score_cutting',
'pass_scoring',
'pass_deletion_allowed' 331 $header->setTitle($this->lng->txt(
'test_scoring'));
336 $count_system =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_text_count_system'),
'count_system');
337 $count_system->
addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_count_partial_solutions'), 0,
''));
338 $opt->setInfo($this->lng->txt(
'tst_count_partial_solutions_desc'));
339 $count_system->addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_count_correct_solutions'), 1,
''));
340 $opt->setInfo($this->lng->txt(
'tst_count_correct_solutions_desc'));
341 $count_system->setValue($this->testOBJ->getCountSystem());
345 $mc_scoring =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_score_mcmr_questions'),
'mc_scoring');
346 $mc_scoring->
addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_score_mcmr_zero_points_when_unanswered'), 0,
''));
347 $opt->setInfo($this->lng->txt(
'tst_score_mcmr_zero_points_when_unanswered_desc'));
348 $mc_scoring->addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_score_mcmr_use_scoring_system'), 1,
''));
349 $opt->setInfo($this->lng->txt(
'tst_score_mcmr_use_scoring_system_desc'));
350 $mc_scoring->setValue($this->testOBJ->getMCScoring());
354 $score_cutting =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_score_cutting'),
'score_cutting');
356 $opt->setInfo($this->lng->txt(
'tst_score_cut_question_desc'));
357 $score_cutting->addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_score_cut_test'), 1,
''));
358 $opt->setInfo($this->lng->txt(
'tst_score_cut_test_desc'));
359 $score_cutting->setValue($this->testOBJ->getScoreCutting());
360 $form->
addItem($score_cutting);
365 $opt->setInfo($this->lng->txt(
'tst_pass_last_pass_desc'));
366 $pass_scoring->addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_pass_best_pass'), 1,
''));
367 $opt->setInfo($this->lng->txt(
'tst_pass_best_pass_desc'));
368 $pass_scoring->setValue($this->testOBJ->getPassScoring());
372 $passDeletion =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_pass_deletion'),
'pass_deletion_allowed');
374 $passDeletion->addOption(
new ilRadioOption($this->lng->txt(
'tst_pass_deletion_allowed'), 1,
''));
375 $passDeletion->setValue($this->testOBJ->isPassDeletionAllowed());
381 $count_system->setDisabled(
true);
382 $mc_scoring->setDisabled(
true);
383 $score_cutting->setDisabled(
true);
384 $pass_scoring->setDisabled(
true);
397 $this->testOBJ->setCountSystem($form->
getItemByPostVar(
'count_system')->getValue());
402 $this->testOBJ->setMCScoring($form->
getItemByPostVar(
'mc_scoring')->getValue());
407 $this->testOBJ->setScoreCutting($form->
getItemByPostVar(
'score_cutting')->getValue());
412 $this->testOBJ->setPassScoring($form->
getItemByPostVar(
'pass_scoring')->getValue());
418 $this->testOBJ->setPassDeletionAllowed( (
bool)$form->
getItemByPostVar(
'pass_deletion_allowed')->getValue() );
426 $header_tr->setTitle($this->lng->txt(
'test_results'));
430 $resultsAccessEnabled =
new ilCheckboxInputGUI($this->lng->txt(
'tst_results_access_enabled'),
'results_access_enabled');
431 $resultsAccessEnabled->
setInfo($this->lng->txt(
'tst_results_access_enabled_desc'));
432 $resultsAccessEnabled->setChecked($this->testOBJ->isScoreReportingEnabled());
433 $resultsAccessSetting =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_results_access_setting'),
'results_access_setting');
435 $optAlways =
new ilRadioOption($this->lng->txt(
'tst_results_access_always'), 2,
'');
436 $optAlways->
setInfo($this->lng->txt(
'tst_results_access_always_desc'));
437 $resultsAccessSetting->addOption($optAlways);
438 $optFinished = $opt =
new ilRadioOption($this->lng->txt(
'tst_results_access_finished'), 1,
'');
439 $optFinished->
setInfo($this->lng->txt(
'tst_results_access_finished_desc'));
440 $resultsAccessSetting->addOption($optFinished);
441 $optionDate =
new ilRadioOption($this->lng->txt(
'tst_results_access_date'), 3,
'');
442 $optionDate->
setInfo($this->lng->txt(
'tst_results_access_date_desc'));
444 $reportingDate =
new ilDateTimeInputGUI($this->lng->txt(
'tst_reporting_date'),
'reporting_date');
446 if (strlen($this->testOBJ->getReportingDate()))
454 $optionDate->addSubItem($reportingDate);
455 $resultsAccessSetting->addOption($optionDate);
456 $resultsAccessValue = $this->testOBJ->getScoreReporting();
457 $resultsAccessSetting->setValue(
458 $resultsAccessValue > 0 && $resultsAccessValue < 4 ? $resultsAccessValue : 2
460 $resultsAccessEnabled->addSubItem($resultsAccessSetting);
462 $showPassDetails =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_pass_details'),
'pass_details');
463 $showPassDetails->
setInfo($this->lng->txt(
'tst_show_pass_details_desc'));
464 $showPassDetails->setChecked($this->testOBJ->getShowPassDetails());
465 $resultsAccessEnabled->addSubItem($showPassDetails);
466 $form->
addItem($resultsAccessEnabled);
469 $chb_only_passed_failed =
new ilCheckboxInputGUI($this->lng->txt(
'tst_results_grading_opt_show_status'),
'grading_status');
470 $chb_only_passed_failed->
setInfo($this->lng->txt(
'tst_results_grading_opt_show_status_desc'));
471 $chb_only_passed_failed->setValue(1);
472 $chb_only_passed_failed->setChecked($this->testOBJ->isShowGradingStatusEnabled());
473 $form->
addItem($chb_only_passed_failed);
475 $chb_resulting_mark_only =
new ilCheckboxInputGUI($this->lng->txt(
'tst_results_grading_opt_show_mark'),
'grading_mark');
476 $chb_resulting_mark_only->
setInfo($this->lng->txt(
'tst_results_grading_opt_show_mark_desc'));
477 $chb_resulting_mark_only->setValue(1);
478 $chb_resulting_mark_only->setChecked($this->testOBJ->isShowGradingMarkEnabled());
479 $form->
addItem($chb_resulting_mark_only);
491 $this->testOBJ->setScoreReporting($form->
getItemByPostVar(
'results_access_setting')->getValue());
495 $this->testOBJ->setReportingDate(
501 $this->testOBJ->setReportingDate(
'');
504 $this->testOBJ->setShowPassDetails($form->
getItemByPostVar(
'pass_details')->getChecked());
508 $this->testOBJ->setScoreReporting(4);
509 $this->testOBJ->setShowPassDetails(
false);
510 $this->testOBJ->setReportingDate(
'');
516 $this->testOBJ->setShowGradingStatusEnabled(
523 $this->testOBJ->setShowGradingMarkEnabled(
533 $header_tr->setTitle($this->lng->txt(
'tst_results_details_options'));
537 $showSolutionDetails =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_details'),
'solution_details');
538 $showSolutionDetails->
setInfo($this->lng->txt(
'tst_show_solution_details_desc'));
539 $showSolutionDetails->setChecked($this->testOBJ->getShowSolutionDetails());
540 $form->
addItem($showSolutionDetails);
543 $results_print_best_solution =
new ilCheckboxInputGUI($this->lng->txt(
'tst_results_print_best_solution'),
'print_bs_with_res');
544 $results_print_best_solution->
setInfo($this->lng->txt(
'tst_results_print_best_solution_info'));
545 $results_print_best_solution->setChecked((
bool) $this->testOBJ->isBestSolutionPrintedWithResult());
546 $showSolutionDetails->addSubItem($results_print_best_solution);
549 $showSolutionFeedbackOption =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_feedback'),
'solution_feedback');
550 $showSolutionFeedbackOption->
setInfo($this->lng->txt(
'tst_show_solution_feedback_desc'));
551 $showSolutionFeedbackOption->setChecked($this->testOBJ->getShowSolutionFeedback());
552 $form->
addItem($showSolutionFeedbackOption);
555 $showSuggestedSolutionOption =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_suggested'),
'solution_suggested');
556 $showSuggestedSolutionOption->
setInfo($this->lng->txt(
'tst_show_solution_suggested_desc'));
557 $showSuggestedSolutionOption->setChecked($this->testOBJ->getShowSolutionSuggested());
558 $form->
addItem($showSuggestedSolutionOption);
561 $showSolutionPrintview =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_printview'),
'solution_printview');
562 $showSolutionPrintview->
setInfo($this->lng->txt(
'tst_show_solution_printview_desc'));
563 $showSolutionPrintview->setChecked($this->testOBJ->getShowSolutionPrintview());
564 $form->
addItem($showSolutionPrintview);
567 $solutionCompareInput =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_compare'),
'solution_compare');
568 $solutionCompareInput->
setInfo($this->lng->txt(
'tst_show_solution_compare_desc'));
569 $solutionCompareInput->setChecked($this->testOBJ->getShowSolutionListComparison());
570 $showSolutionPrintview->addSubItem($solutionCompareInput);
573 $solutionAnswersOnly =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_answers_only'),
'solution_answers_only');
574 $solutionAnswersOnly->
setInfo($this->lng->txt(
'tst_show_solution_answers_only_desc'));
575 $solutionAnswersOnly->setChecked($this->testOBJ->getShowSolutionAnswersOnly());
576 $showSolutionPrintview->addSubItem($solutionAnswersOnly);
579 $highscore =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_enabled"),
"highscore_enabled");
581 $highscore->setChecked($this->testOBJ->getHighscoreEnabled());
582 $highscore->setInfo($this->lng->txt(
"tst_highscore_description"));
584 $highscore_tables =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_highscore_mode'),
'highscore_mode');
586 $highscore_tables->setValue($this->testOBJ->getHighscoreMode());
588 $highscore_table_own->
setInfo($this->lng->txt(
'tst_highscore_own_table_description'));
589 $highscore_tables->addOption($highscore_table_own);
591 $highscore_table_other->
setInfo($this->lng->txt(
'tst_highscore_top_table_description'));
592 $highscore_tables->addOption($highscore_table_other);
594 $highscore_table_other->
setInfo($this->lng->txt(
'tst_highscore_all_tables_description'));
595 $highscore_tables->addOption($highscore_table_other);
596 $highscore->addSubItem($highscore_tables);
597 $highscore_top_num =
new ilNumberInputGUI($this->lng->txt(
"tst_highscore_top_num"),
"highscore_top_num");
598 $highscore_top_num->
setSize(4);
599 $highscore_top_num->setRequired(
true);
600 $highscore_top_num->setMinValue(1);
601 $highscore_top_num->setSuffix($this->lng->txt(
"tst_highscore_top_num_unit"));
602 $highscore_top_num->setValue($this->testOBJ->getHighscoreTopNum(null));
603 $highscore_top_num->setInfo($this->lng->txt(
"tst_highscore_top_num_description"));
604 $highscore->addSubItem($highscore_top_num);
605 $highscore_anon =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_anon"),
"highscore_anon");
607 $highscore_anon->setChecked($this->testOBJ->getHighscoreAnon());
608 $highscore_anon->setInfo($this->lng->txt(
"tst_highscore_anon_description"));
609 $highscore->addSubItem($highscore_anon);
610 $highscore_achieved_ts =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_achieved_ts"),
"highscore_achieved_ts");
611 $highscore_achieved_ts->
setValue(1);
612 $highscore_achieved_ts->setChecked($this->testOBJ->getHighscoreAchievedTS());
613 $highscore_achieved_ts->setInfo($this->lng->txt(
"tst_highscore_achieved_ts_description"));
614 $highscore->addSubItem($highscore_achieved_ts);
615 $highscore_score =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_score"),
"highscore_score");
617 $highscore_score->setChecked($this->testOBJ->getHighscoreScore());
618 $highscore_score->setInfo($this->lng->txt(
"tst_highscore_score_description"));
619 $highscore->addSubItem($highscore_score);
620 $highscore_percentage =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_percentage"),
"highscore_percentage");
622 $highscore_percentage->setChecked($this->testOBJ->getHighscorePercentage());
623 $highscore_percentage->setInfo($this->lng->txt(
"tst_highscore_percentage_description"));
624 $highscore->addSubItem($highscore_percentage);
625 $highscore_hints =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_hints"),
"highscore_hints");
627 $highscore_hints->setChecked($this->testOBJ->getHighscoreHints());
628 $highscore_hints->setInfo($this->lng->txt(
"tst_highscore_hints_description"));
629 $highscore->addSubItem($highscore_hints);
630 $highscore_wtime =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_wtime"),
"highscore_wtime");
632 $highscore_wtime->setChecked($this->testOBJ->getHighscoreWTime());
633 $highscore_wtime->setInfo($this->lng->txt(
"tst_highscore_wtime_description"));
634 $highscore->addSubItem($highscore_wtime);
637 $showSignaturePlaceholder =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_signature'),
'solution_signature');
638 $showSignaturePlaceholder->
setInfo($this->lng->txt(
'tst_show_solution_signature_desc'));
639 $showSignaturePlaceholder->setChecked($this->testOBJ->getShowSolutionSignature());
640 if( $this->testOBJ->getAnonymity() ) { $showSignaturePlaceholder->setDisabled(
true); }
641 $form->
addItem($showSignaturePlaceholder);
644 $showExamId =
new ilCheckboxInputGUI($this->lng->txt(
'examid_in_test_res'),
'examid_in_test_res');
645 $showExamId->
setInfo($this->lng->txt(
'examid_in_test_res_desc'));
646 $showExamId->setChecked($this->testOBJ->isShowExamIdInTestResultsEnabled());
650 $export_settings =
new ilCheckboxInputGUI($this->lng->txt(
'tst_exp_sc_short'),
'exp_sc_short');
651 $export_settings->
setInfo($this->lng->txt(
'tst_exp_sc_short_desc'));
652 $export_settings->setChecked($this->testOBJ->getExportSettingsSingleChoiceShort());
653 $form->
addItem($export_settings);
665 $this->testOBJ->setShowSolutionDetails(1);
666 $this->testOBJ->setPrintBestSolutionWithResult(
672 $this->testOBJ->setShowSolutionDetails(0);
673 $this->testOBJ->setPrintBestSolutionWithResult(0);
679 $this->testOBJ->setShowSolutionFeedback($form->
getItemByPostVar(
'solution_feedback')->getChecked());
684 $this->testOBJ->setShowSolutionSuggested($form->
getItemByPostVar(
'solution_suggested')->getChecked());
691 $this->testOBJ->setShowSolutionPrintview(1);
692 $this->testOBJ->setShowSolutionListComparison(
695 $this->testOBJ->setShowSolutionAnswersOnly(
701 $this->testOBJ->setShowSolutionPrintview(0);
702 $this->testOBJ->setShowSolutionListComparison(
false);
703 $this->testOBJ->setShowSolutionAnswersOnly(0);
710 $this->testOBJ->setHighscoreEnabled((
bool) $form->
getItemByPostVar(
'highscore_enabled')->getChecked());
711 $this->testOBJ->setHighscoreAnon((
bool) $form->
getItemByPostVar(
'highscore_anon')->getChecked());
712 $this->testOBJ->setHighscoreAchievedTS((
bool) $form->
getItemByPostVar(
'highscore_achieved_ts')->getChecked());
713 $this->testOBJ->setHighscoreScore((
bool) $form->
getItemByPostVar(
'highscore_score')->getChecked());
714 $this->testOBJ->setHighscorePercentage((
bool) $form->
getItemByPostVar(
'highscore_percentage')->getChecked());
715 $this->testOBJ->setHighscoreHints((
bool) $form->
getItemByPostVar(
'highscore_hints')->getChecked());
716 $this->testOBJ->setHighscoreWTime((
bool) $form->
getItemByPostVar(
'highscore_wtime')->getChecked());
717 $this->testOBJ->setHighscoreMode((
int) $form->
getItemByPostVar(
'highscore_mode')->getValue());
718 $this->testOBJ->setHighscoreTopNum((
int) $form->
getItemByPostVar(
'highscore_top_num')->getValue());
723 $this->testOBJ->setShowSolutionSignature($form->
getItemByPostVar(
'solution_signature')->getChecked());
728 $this->testOBJ->setShowExamIdInTestResultsEnabled($form->
getItemByPostVar(
'examid_in_test_res')->getChecked());
733 $this->testOBJ->setExportSettingsSingleChoiceShort( (
int)$form->
getItemByPostVar(
'exp_sc_short')->getChecked() );
739 $fields = array(
'anonymity');
741 if( $this->
isSectionHeaderRequired($fields) || $this->testQuestionSetConfigFactory->getQuestionSetConfig()->isResultTaxonomyFilterSupported() )
745 $header_misc->setTitle($this->lng->txt(
'misc'));
750 if( $this->testQuestionSetConfigFactory->getQuestionSetConfig()->isResultTaxonomyFilterSupported() )
756 require_once
'Modules/Test/classes/class.ilTestTaxonomyFilterLabelTranslater.php';
760 $results_presentation =
new ilCheckboxGroupInputGUI($this->lng->txt(
'tst_results_tax_filters'),
'results_tax_filters');
765 $labelTranslater->getTaxonomyTreeLabel($taxonomyId), $taxonomyId,
'' 769 $results_presentation->setValue($this->testOBJ->getResultFilterTaxIds());
771 $form->
addItem($results_presentation);
777 if ($this->testOBJ->participantDataExist()) $anonymity->
setDisabled(
true);
778 $rb =
new ilRadioOption($this->lng->txt(
'tst_anonymity_no_anonymization'), 0);
779 $anonymity->addOption($rb);
780 $rb =
new ilRadioOption($this->lng->txt(
'tst_anonymity_anonymous_test'), 1);
781 $anonymity->addOption($rb);
782 $anonymity->
setValue((
int)$this->testOBJ->getAnonymity());
792 if( $this->testQuestionSetConfigFactory->getQuestionSetConfig()->isResultTaxonomyFilterSupported() )
796 $this->testOBJ->setResultFilterTaxIds( array_intersect(
805 $this->testOBJ->setAnonymity($form->
getItemByPostVar(
'anonymity')->getValue());
811 if ( !$this->testOBJ->participantDataExist() )
816 if( !$this->testOBJ->isScoreReportingAvailable() )
826 if ( !$this->testOBJ->participantDataExist() )
847 if( is_object($countSystem) && $countSystem->getValue() != $this->testOBJ->getCountSystem() )
853 if( is_object($mcScoring) && $mcScoring->getValue() != $this->testOBJ->getMCScoring() )
859 if( is_object($scoreCutting) && $scoreCutting->getValue() != $this->testOBJ->getScoreCutting() )
865 if( is_object($passScoring) && $passScoring->getValue() != $this->testOBJ->getPassScoring() )
879 require_once
'Services/Taxonomy/classes/class.ilObjTaxonomy.php';
getAvailableTaxonomyIds()
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
static getSettingsTemplateConfig()
__construct(ilCtrl $ctrl, ilAccessHandler $access, ilLanguage $lng, ilTemplate $tpl, ilTree $tree, ilDB $db, ilPluginAdmin $pluginAdmin, ilObjTestGUI $testGUI)
Constructor.
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.
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)
hasScoringSettingsChanged(ilPropertyFormGUI $form)
isScoreRecalculationRequired(ilPropertyFormGUI $form)
setInfo($a_info)
Set Info.
showConfirmation(ilPropertyFormGUI $form)
Administration class for plugins.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
executeCommand()
Command Execution.
setValue($a_value)
Set Value.
isSectionHeaderRequired($fields)
const CMD_CONFIRMED_SAVE_FORM
saveResultSummarySettings(ilPropertyFormGUI $form)
saveResultMiscOptionsSettings(ilPropertyFormGUI $form)
special template class to simplify handling of ITX/PEAR
saveResultDetailsSettings(ilPropertyFormGUI $form)
areScoringSettingsWritable()
saveFormCmd($isConfirmedSave=false)
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
$testQuestionSetConfigFactory
isHiddenFormItem($formFieldId)
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.