83 $this->objectiveOrientedContainerId =
null;
84 $this->testObjId =
null;
85 $this->testRefId =
null;
88 $this->testType =
null;
89 $this->crsTitle =
null;
91 $this->objectives = array();
169 if ($loSettings->getInitialTest() == $this->getTestRefId()) {
171 } elseif ($loSettings->getQualifiedTest() == $this->getTestRefId()) {
180 $this->objectives = array();
182 foreach ($loRuns as $loRun) {
200 return $this->
lng->txt(
'tst_results_overview');
205 $this->
lng->txt(
'tst_pass_overview_header_lo_initial_all_objectives'),
210 $this->
lng->txt(
'tst_pass_overview_header_lo_initial_per_objective'),
211 $this->getObjectivesString(),
216 $this->
lng->txt(
'tst_pass_overview_header_lo_qualifying_all_objectives'),
221 $this->
lng->txt(
'tst_pass_overview_header_lo_qualifying_per_objective'),
222 $this->getObjectivesString(),
237 $this->
lng->txt(
'tst_pass_details_overview_table_title'),
244 $this->
lng->txt(
'tst_pass_details_header_lo_initial'),
245 $this->getObjectivesString(),
246 $this->getAttemptLabel($attemptNumber)
250 $this->
lng->txt(
'tst_pass_details_header_lo_qualifying'),
251 $this->getObjectivesString(),
252 $this->getAttemptLabel($attemptNumber)
271 if ($this->testType != self::LO_TEST_TYPE_INITIAL) {
275 if (count($this->objectives) <= 1) {
284 if ($this->testType != self::LO_TEST_TYPE_INITIAL) {
288 if (count($this->objectives) > 1) {
297 if ($this->testType != self::LO_TEST_TYPE_QUALIFYING) {
301 if (count($this->objectives) <= 1) {
310 if ($this->testType != self::LO_TEST_TYPE_QUALIFYING) {
314 if (count($this->objectives) > 1) {
328 return implode(
', ', $this->objectives);
333 return sprintf($this->
lng->txt(
'tst_res_lo_try_n'), $attemptNumber);
338 $langVar =
'tst_eval_results_by_pass';
341 $langVar =
'tst_eval_results_by_pass_lo';
344 return sprintf($this->
lng->txt($langVar), $attemptNumber);
349 return $this->
lng->txt(
'tst_eval_results_lo');
356 $this->
lng->txt(
'tst_virtual_pass_header_lo_initial'),
361 $this->
lng->txt(
'tst_virtual_pass_header_lo_qualifying'),
static lookupObjectiveTitle(int $a_objective_id, bool $a_add_description=false)
static getInstanceByObjId(int $a_obj_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getRun(int $a_container_id, int $a_user_id, int $a_test_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...