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 $datetime = $item->getDate();
228 if(!($date instanceof
ilDate))
230 $confirmation->addHiddenItem($item->getPostVar(), $date .
' ' . $time);
234 $confirmation->addHiddenItem($item->getPostVar(), $date);
239 $confirmation->addHiddenItem($item->getPostVar(),
'');
246 $confirmation->addHiddenItem(
"{$item->getPostVar()}[MM]", (
int)$item->getMonths());
247 $confirmation->addHiddenItem(
"{$item->getPostVar()}[dd]", (
int)$item->getDays());
248 $confirmation->addHiddenItem(
"{$item->getPostVar()}[hh]", (
int)$item->getHours());
249 $confirmation->addHiddenItem(
"{$item->getPostVar()}[mm]", (
int)$item->getMinutes());
250 $confirmation->addHiddenItem(
"{$item->getPostVar()}[ss]", (
int)$item->getSeconds());
254 case 'checkboxgroup':
256 if( is_array($item->getValue()) )
258 foreach( $item->getValue() as $option )
260 $confirmation->addHiddenItem(
"{$item->getPostVar()}[]", $option);
268 if( $item->getChecked() )
270 $confirmation->addHiddenItem($item->getPostVar(), 1);
277 $confirmation->addHiddenItem($item->getPostVar(), $item->getValue());
281 $this->tpl->setContent( $this->ctrl->getHTML($confirmation) );
286 include_once
'Services/Form/classes/class.ilPropertyFormGUI.php';
288 $form->setFormAction($this->ctrl->getFormAction($this));
289 $form->setTableWidth(
'100%');
290 $form->setId(
'test_scoring_results');
298 if($this->settingsTemplate)
300 foreach($this->settingsTemplate->getSettings() as $id => $item)
304 $form->removeItemByPostVar($id);
309 $form->addCommandButton(self::CMD_SAVE_FORM, $this->lng->txt(
'save'));
317 'count_system',
'mc_scoring',
'score_cutting',
'pass_scoring',
'pass_deletion_allowed' 324 $header->setTitle($this->lng->txt(
'test_scoring'));
329 $count_system =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_text_count_system'),
'count_system');
330 $count_system->
addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_count_partial_solutions'), 0,
''));
331 $opt->setInfo($this->lng->txt(
'tst_count_partial_solutions_desc'));
332 $count_system->addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_count_correct_solutions'), 1,
''));
333 $opt->setInfo($this->lng->txt(
'tst_count_correct_solutions_desc'));
334 $count_system->setValue($this->testOBJ->getCountSystem());
338 $mc_scoring =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_score_mcmr_questions'),
'mc_scoring');
339 $mc_scoring->
addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_score_mcmr_zero_points_when_unanswered'), 0,
''));
340 $opt->setInfo($this->lng->txt(
'tst_score_mcmr_zero_points_when_unanswered_desc'));
341 $mc_scoring->addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_score_mcmr_use_scoring_system'), 1,
''));
342 $opt->setInfo($this->lng->txt(
'tst_score_mcmr_use_scoring_system_desc'));
343 $mc_scoring->setValue($this->testOBJ->getMCScoring());
345 $mc_scoring->setDisabled(
true);
350 $score_cutting =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_score_cutting'),
'score_cutting');
352 $opt->setInfo($this->lng->txt(
'tst_score_cut_question_desc'));
353 $score_cutting->addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_score_cut_test'), 1,
''));
354 $opt->setInfo($this->lng->txt(
'tst_score_cut_test_desc'));
355 $score_cutting->setValue($this->testOBJ->getScoreCutting());
356 $form->
addItem($score_cutting);
361 $opt->setInfo($this->lng->txt(
'tst_pass_last_pass_desc'));
362 $pass_scoring->addOption($opt =
new ilRadioOption($this->lng->txt(
'tst_pass_best_pass'), 1,
''));
363 $opt->setInfo($this->lng->txt(
'tst_pass_best_pass_desc'));
364 $pass_scoring->setValue($this->testOBJ->getPassScoring());
368 $passDeletion =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_pass_deletion'),
'pass_deletion_allowed');
370 $passDeletion->addOption(
new ilRadioOption($this->lng->txt(
'tst_pass_deletion_allowed'), 1,
''));
371 $passDeletion->setValue($this->testOBJ->isPassDeletionAllowed());
377 $count_system->setDisabled(
true);
378 $mc_scoring->setDisabled(
true);
379 $score_cutting->setDisabled(
true);
380 $pass_scoring->setDisabled(
true);
393 $this->testOBJ->setCountSystem($form->
getItemByPostVar(
'count_system')->getValue());
398 $this->testOBJ->setMCScoring($form->
getItemByPostVar(
'mc_scoring')->getValue());
403 $this->testOBJ->setScoreCutting($form->
getItemByPostVar(
'score_cutting')->getValue());
408 $this->testOBJ->setPassScoring($form->
getItemByPostVar(
'pass_scoring')->getValue());
414 $this->testOBJ->setPassDeletionAllowed( (
bool)$form->
getItemByPostVar(
'pass_deletion_allowed')->getValue() );
422 $header_tr->setTitle($this->lng->txt(
'test_results'));
426 $resultsAccessEnabled =
new ilCheckboxInputGUI($this->lng->txt(
'tst_results_access_enabled'),
'results_access_enabled');
427 $resultsAccessEnabled->
setInfo($this->lng->txt(
'tst_results_access_enabled_desc'));
428 $resultsAccessEnabled->setChecked($this->testOBJ->isScoreReportingEnabled());
429 $resultsAccessSetting =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_results_access_setting'),
'results_access_setting');
431 $optAlways =
new ilRadioOption($this->lng->txt(
'tst_results_access_always'), 2,
'');
432 $optAlways->
setInfo($this->lng->txt(
'tst_results_access_always_desc'));
433 $resultsAccessSetting->addOption($optAlways);
434 $optFinished = $opt =
new ilRadioOption($this->lng->txt(
'tst_results_access_finished'), 1,
'');
435 $optFinished->
setInfo($this->lng->txt(
'tst_results_access_finished_desc'));
436 $resultsAccessSetting->addOption($optFinished);
437 $optionDate =
new ilRadioOption($this->lng->txt(
'tst_results_access_date'), 3,
'');
438 $optionDate->
setInfo($this->lng->txt(
'tst_results_access_date_desc'));
440 $reportingDate =
new ilDateTimeInputGUI($this->lng->txt(
'tst_reporting_date'),
'reporting_date');
442 $reportingDate->setShowTime(
true);
443 if (strlen($this->testOBJ->getReportingDate()))
451 $optionDate->addSubItem($reportingDate);
452 $resultsAccessSetting->addOption($optionDate);
453 $resultsAccessValue = $this->testOBJ->getScoreReporting();
454 $resultsAccessSetting->setValue(
455 $resultsAccessValue > 0 && $resultsAccessValue < 4 ? $resultsAccessValue : 2
457 $resultsAccessEnabled->addSubItem($resultsAccessSetting);
459 $showPassDetails =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_pass_details'),
'pass_details');
460 $showPassDetails->
setInfo($this->lng->txt(
'tst_show_pass_details_desc'));
461 $showPassDetails->setChecked($this->testOBJ->getShowPassDetails());
462 $resultsAccessEnabled->addSubItem($showPassDetails);
463 $form->
addItem($resultsAccessEnabled);
466 $chb_only_passed_failed =
new ilCheckboxInputGUI($this->lng->txt(
'tst_results_grading_opt_show_status'),
'grading_status');
467 $chb_only_passed_failed->
setInfo($this->lng->txt(
'tst_results_grading_opt_show_status_desc'));
468 $chb_only_passed_failed->setValue(1);
469 $chb_only_passed_failed->setChecked($this->testOBJ->isShowGradingStatusEnabled());
470 $resultsAccessEnabled->addSubItem($chb_only_passed_failed);
472 $chb_resulting_mark_only =
new ilCheckboxInputGUI($this->lng->txt(
'tst_results_grading_opt_show_mark'),
'grading_mark');
473 $chb_resulting_mark_only->
setInfo($this->lng->txt(
'tst_results_grading_opt_show_mark_desc'));
474 $chb_resulting_mark_only->setValue(1);
475 $chb_resulting_mark_only->setChecked($this->testOBJ->isShowGradingMarkEnabled());
476 $resultsAccessEnabled->addSubItem($chb_resulting_mark_only);
488 $this->testOBJ->setScoreReporting($form->
getItemByPostVar(
'results_access_setting')->getValue());
495 $this->testOBJ->setReportingDate($reporting_date->get(
IL_CAL_FKT_DATE,
'YmdHis'));
499 $this->testOBJ->setReportingDate(
'');
504 $this->testOBJ->setReportingDate(
'');
507 $this->testOBJ->setShowPassDetails($form->
getItemByPostVar(
'pass_details')->getChecked());
511 $this->testOBJ->setScoreReporting(4);
512 $this->testOBJ->setShowPassDetails(
false);
513 $this->testOBJ->setReportingDate(
'');
519 $this->testOBJ->setShowGradingStatusEnabled(
526 $this->testOBJ->setShowGradingMarkEnabled(
536 $header_tr->setTitle($this->lng->txt(
'tst_results_details_options'));
540 $showSolutionDetails =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_details'),
'solution_details');
541 $showSolutionDetails->
setInfo($this->lng->txt(
'tst_show_solution_details_desc'));
542 $showSolutionDetails->setChecked($this->testOBJ->getShowSolutionDetails());
543 $form->
addItem($showSolutionDetails);
546 $results_print_best_solution =
new ilCheckboxInputGUI($this->lng->txt(
'tst_results_print_best_solution'),
'print_bs_with_res');
547 $results_print_best_solution->
setInfo($this->lng->txt(
'tst_results_print_best_solution_info'));
548 $results_print_best_solution->setChecked((
bool) $this->testOBJ->isBestSolutionPrintedWithResult());
549 $showSolutionDetails->addSubItem($results_print_best_solution);
552 $showSolutionFeedbackOption =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_feedback'),
'solution_feedback');
553 $showSolutionFeedbackOption->
setInfo($this->lng->txt(
'tst_show_solution_feedback_desc'));
554 $showSolutionFeedbackOption->setChecked($this->testOBJ->getShowSolutionFeedback());
555 $form->
addItem($showSolutionFeedbackOption);
558 $showSuggestedSolutionOption =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_suggested'),
'solution_suggested');
559 $showSuggestedSolutionOption->
setInfo($this->lng->txt(
'tst_show_solution_suggested_desc'));
560 $showSuggestedSolutionOption->setChecked($this->testOBJ->getShowSolutionSuggested());
561 $form->
addItem($showSuggestedSolutionOption);
564 $showSolutionPrintview =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_printview'),
'solution_printview');
565 $showSolutionPrintview->
setInfo($this->lng->txt(
'tst_show_solution_printview_desc'));
566 $showSolutionPrintview->setChecked($this->testOBJ->getShowSolutionPrintview());
567 $form->
addItem($showSolutionPrintview);
570 $solutionCompareInput =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_compare'),
'solution_compare');
571 $solutionCompareInput->
setInfo($this->lng->txt(
'tst_show_solution_compare_desc'));
572 $solutionCompareInput->setChecked($this->testOBJ->getShowSolutionListComparison());
573 $showSolutionPrintview->addSubItem($solutionCompareInput);
576 $solutionAnswersOnly =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_answers_only'),
'solution_answers_only');
577 $solutionAnswersOnly->
setInfo($this->lng->txt(
'tst_show_solution_answers_only_desc'));
578 $solutionAnswersOnly->setChecked($this->testOBJ->getShowSolutionAnswersOnly());
579 $showSolutionPrintview->addSubItem($solutionAnswersOnly);
582 $highscore =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_enabled"),
"highscore_enabled");
584 $highscore->setChecked($this->testOBJ->getHighscoreEnabled());
585 $highscore->setInfo($this->lng->txt(
"tst_highscore_description"));
587 $highscore_tables =
new ilRadioGroupInputGUI($this->lng->txt(
'tst_highscore_mode'),
'highscore_mode');
589 $highscore_tables->setValue($this->testOBJ->getHighscoreMode());
591 $highscore_table_own->
setInfo($this->lng->txt(
'tst_highscore_own_table_description'));
592 $highscore_tables->addOption($highscore_table_own);
594 $highscore_table_other->
setInfo($this->lng->txt(
'tst_highscore_top_table_description'));
595 $highscore_tables->addOption($highscore_table_other);
597 $highscore_table_other->
setInfo($this->lng->txt(
'tst_highscore_all_tables_description'));
598 $highscore_tables->addOption($highscore_table_other);
599 $highscore->addSubItem($highscore_tables);
600 $highscore_top_num =
new ilNumberInputGUI($this->lng->txt(
"tst_highscore_top_num"),
"highscore_top_num");
601 $highscore_top_num->
setSize(4);
602 $highscore_top_num->setRequired(
true);
603 $highscore_top_num->setMinValue(1);
604 $highscore_top_num->setSuffix($this->lng->txt(
"tst_highscore_top_num_unit"));
605 $highscore_top_num->setValue($this->testOBJ->getHighscoreTopNum(null));
606 $highscore_top_num->setInfo($this->lng->txt(
"tst_highscore_top_num_description"));
607 $highscore->addSubItem($highscore_top_num);
608 $highscore_anon =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_anon"),
"highscore_anon");
610 $highscore_anon->setChecked($this->testOBJ->getHighscoreAnon());
611 $highscore_anon->setInfo($this->lng->txt(
"tst_highscore_anon_description"));
612 $highscore->addSubItem($highscore_anon);
613 $highscore_achieved_ts =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_achieved_ts"),
"highscore_achieved_ts");
614 $highscore_achieved_ts->
setValue(1);
615 $highscore_achieved_ts->setChecked($this->testOBJ->getHighscoreAchievedTS());
616 $highscore_achieved_ts->setInfo($this->lng->txt(
"tst_highscore_achieved_ts_description"));
617 $highscore->addSubItem($highscore_achieved_ts);
618 $highscore_score =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_score"),
"highscore_score");
620 $highscore_score->setChecked($this->testOBJ->getHighscoreScore());
621 $highscore_score->setInfo($this->lng->txt(
"tst_highscore_score_description"));
622 $highscore->addSubItem($highscore_score);
623 $highscore_percentage =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_percentage"),
"highscore_percentage");
625 $highscore_percentage->setChecked($this->testOBJ->getHighscorePercentage());
626 $highscore_percentage->setInfo($this->lng->txt(
"tst_highscore_percentage_description"));
627 $highscore->addSubItem($highscore_percentage);
628 $highscore_hints =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_hints"),
"highscore_hints");
630 $highscore_hints->setChecked($this->testOBJ->getHighscoreHints());
631 $highscore_hints->setInfo($this->lng->txt(
"tst_highscore_hints_description"));
632 $highscore->addSubItem($highscore_hints);
633 $highscore_wtime =
new ilCheckboxInputGUI($this->lng->txt(
"tst_highscore_wtime"),
"highscore_wtime");
635 $highscore_wtime->setChecked($this->testOBJ->getHighscoreWTime());
636 $highscore_wtime->setInfo($this->lng->txt(
"tst_highscore_wtime_description"));
637 $highscore->addSubItem($highscore_wtime);
640 $showSignaturePlaceholder =
new ilCheckboxInputGUI($this->lng->txt(
'tst_show_solution_signature'),
'solution_signature');
641 $showSignaturePlaceholder->
setInfo($this->lng->txt(
'tst_show_solution_signature_desc'));
642 $showSignaturePlaceholder->setChecked($this->testOBJ->getShowSolutionSignature());
643 if( $this->testOBJ->getAnonymity() ) { $showSignaturePlaceholder->setDisabled(
true); }
644 $form->
addItem($showSignaturePlaceholder);
647 $showExamId =
new ilCheckboxInputGUI($this->lng->txt(
'examid_in_test_res'),
'examid_in_test_res');
648 $showExamId->
setInfo($this->lng->txt(
'examid_in_test_res_desc'));
649 $showExamId->setChecked($this->testOBJ->isShowExamIdInTestResultsEnabled());
653 $export_settings =
new ilCheckboxInputGUI($this->lng->txt(
'tst_exp_sc_short'),
'exp_sc_short');
654 $export_settings->
setInfo($this->lng->txt(
'tst_exp_sc_short_desc'));
655 $export_settings->setChecked($this->testOBJ->getExportSettingsSingleChoiceShort());
656 $form->
addItem($export_settings);
668 $this->testOBJ->setShowSolutionDetails(1);
669 $this->testOBJ->setPrintBestSolutionWithResult(
675 $this->testOBJ->setShowSolutionDetails(0);
676 $this->testOBJ->setPrintBestSolutionWithResult(0);
682 $this->testOBJ->setShowSolutionFeedback($form->
getItemByPostVar(
'solution_feedback')->getChecked());
687 $this->testOBJ->setShowSolutionSuggested($form->
getItemByPostVar(
'solution_suggested')->getChecked());
694 $this->testOBJ->setShowSolutionPrintview(1);
695 $this->testOBJ->setShowSolutionListComparison(
698 $this->testOBJ->setShowSolutionAnswersOnly(
704 $this->testOBJ->setShowSolutionPrintview(0);
705 $this->testOBJ->setShowSolutionListComparison(
false);
706 $this->testOBJ->setShowSolutionAnswersOnly(0);
713 $this->testOBJ->setHighscoreEnabled((
bool) $form->
getItemByPostVar(
'highscore_enabled')->getChecked());
714 $this->testOBJ->setHighscoreAnon((
bool) $form->
getItemByPostVar(
'highscore_anon')->getChecked());
715 $this->testOBJ->setHighscoreAchievedTS((
bool) $form->
getItemByPostVar(
'highscore_achieved_ts')->getChecked());
716 $this->testOBJ->setHighscoreScore((
bool) $form->
getItemByPostVar(
'highscore_score')->getChecked());
717 $this->testOBJ->setHighscorePercentage((
bool) $form->
getItemByPostVar(
'highscore_percentage')->getChecked());
718 $this->testOBJ->setHighscoreHints((
bool) $form->
getItemByPostVar(
'highscore_hints')->getChecked());
719 $this->testOBJ->setHighscoreWTime((
bool) $form->
getItemByPostVar(
'highscore_wtime')->getChecked());
720 $this->testOBJ->setHighscoreMode((
int) $form->
getItemByPostVar(
'highscore_mode')->getValue());
721 $this->testOBJ->setHighscoreTopNum((
int) $form->
getItemByPostVar(
'highscore_top_num')->getValue());
726 $this->testOBJ->setShowSolutionSignature($form->
getItemByPostVar(
'solution_signature')->getChecked());
731 $this->testOBJ->setShowExamIdInTestResultsEnabled($form->
getItemByPostVar(
'examid_in_test_res')->getChecked());
736 $this->testOBJ->setExportSettingsSingleChoiceShort( (
int)$form->
getItemByPostVar(
'exp_sc_short')->getChecked() );
742 if( $this->testQuestionSetConfigFactory->getQuestionSetConfig()->isResultTaxonomyFilterSupported() )
746 $header_misc->setTitle($this->lng->txt(
'misc'));
751 if( $this->testQuestionSetConfigFactory->getQuestionSetConfig()->isResultTaxonomyFilterSupported() )
757 require_once
'Modules/Test/classes/class.ilTestTaxonomyFilterLabelTranslater.php';
761 $results_presentation =
new ilCheckboxGroupInputGUI($this->lng->txt(
'tst_results_tax_filters'),
'results_tax_filters');
766 $labelTranslater->getTaxonomyTreeLabel($taxonomyId), $taxonomyId,
'' 770 $results_presentation->setValue($this->testOBJ->getResultFilterTaxIds());
772 $form->
addItem($results_presentation);
783 if( $this->testQuestionSetConfigFactory->getQuestionSetConfig()->isResultTaxonomyFilterSupported() )
787 $taxFilters =
array();
791 $taxFilters = array_intersect(
796 $this->testOBJ->setResultFilterTaxIds($taxFilters);
803 if ( !$this->testOBJ->participantDataExist() )
808 if( !$this->testOBJ->isScoreReportingAvailable() )
818 if ( !$this->testOBJ->participantDataExist() )
839 if( is_object($countSystem) && $countSystem->getValue() != $this->testOBJ->getCountSystem() )
845 if( is_object($mcScoring) && $mcScoring->getValue() != $this->testOBJ->getMCScoring() )
851 if( is_object($scoreCutting) && $scoreCutting->getValue() != $this->testOBJ->getScoreCutting() )
857 if( is_object($passScoring) && $passScoring->getValue() != $this->testOBJ->getPassScoring() )
871 require_once
'Services/Taxonomy/classes/class.ilObjTaxonomy.php';
getAvailableTaxonomyIds()
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
static getSettingsTemplateConfig()
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.
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()
__construct(ilCtrl $ctrl, ilAccessHandler $access, ilLanguage $lng, ilTemplate $tpl, ilTree $tree, ilDBInterface $db, ilPluginAdmin $pluginAdmin, ilObjTestGUI $testGUI)
Constructor.
saveFormCmd($isConfirmedSave=false)
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
Create styles array
The data for the language used.
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)
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
addResultSummarySettingsFormSection(ilPropertyFormGUI $form)
addScoringSettingsFormSection(ilPropertyFormGUI $form)
const HIGHSCORE_SHOW_ALL_TABLES
addResultDetailsSettingsFormSection(ilPropertyFormGUI $form)
Settings template application class.
addMiscSettingsFormSection(ilPropertyFormGUI $form)
Confirmation screen class.