69 $this->objectiveOrientedContainerId =
null;
70 $this->testObjId =
null;
71 $this->testRefId =
null;
74 $this->testType =
null;
75 $this->crsTitle =
null;
77 $this->objectives = array();
153 require_once
'Modules/Course/classes/Objectives/class.ilLOSettings.php';
156 if ($loSettings->getInitialTest() == $this->getTestRefId()) {
158 } elseif ($loSettings->getQualifiedTest() == $this->getTestRefId()) {
165 require_once
'Modules/Course/classes/Objectives/class.ilLOTestRun.php';
168 $this->objectives = array();
170 foreach ($loRuns as $loRun) {
188 return $this->lng->txt(
'tst_results_overview');
193 $this->lng->txt(
'tst_pass_overview_header_lo_initial_all_objectives'),
198 $this->lng->txt(
'tst_pass_overview_header_lo_initial_per_objective'),
199 $this->getObjectivesString(),
204 $this->lng->txt(
'tst_pass_overview_header_lo_qualifying_all_objectives'),
209 $this->lng->txt(
'tst_pass_overview_header_lo_qualifying_per_objective'),
210 $this->getObjectivesString(),
225 $this->lng->txt(
'tst_pass_details_overview_table_title'),
232 $this->lng->txt(
'tst_pass_details_header_lo_initial'),
233 $this->getObjectivesString(),
234 $this->getAttemptLabel($attemptNumber)
238 $this->lng->txt(
'tst_pass_details_header_lo_qualifying'),
239 $this->getObjectivesString(),
240 $this->getAttemptLabel($attemptNumber)
259 if ($this->testType != self::LO_TEST_TYPE_INITIAL) {
263 if (count($this->objectives) <= 1) {
272 if ($this->testType != self::LO_TEST_TYPE_INITIAL) {
276 if (count($this->objectives) > 1) {
285 if ($this->testType != self::LO_TEST_TYPE_QUALIFYING) {
289 if (count($this->objectives) <= 1) {
298 if ($this->testType != self::LO_TEST_TYPE_QUALIFYING) {
302 if (count($this->objectives) > 1) {
311 require_once
'Modules/Course/classes/class.ilCourseObjective.php';
317 return implode(
', ', $this->objectives);
322 return sprintf($this->lng->txt(
'tst_res_lo_try_n'), $attemptNumber);
327 $langVar =
'tst_eval_results_by_pass';
330 $langVar =
'tst_eval_results_by_pass_lo';
333 return sprintf($this->lng->txt($langVar), $attemptNumber);
338 return $this->lng->txt(
'tst_eval_results_lo');
345 $this->lng->txt(
'tst_virtual_pass_header_lo_initial'),
350 $this->lng->txt(
'tst_virtual_pass_header_lo_qualifying'),
sprintf('%.4f', $callTime)
An exception for terminatinating execution or to throw for unit testing.
static lookupObjectiveTitle($a_objective_id, $a_add_description=false)
static getInstanceByObjId($a_obj_id)
get singleton instance
Stores current objective, questions and max points.
static getRun($a_container_id, $a_user_id, $a_test_id)