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()) {
157 $this->testType = self::LO_TEST_TYPE_INITIAL;
158 } elseif ($loSettings->getQualifiedTest() == $this->
getTestRefId()) {
159 $this->testType = self::LO_TEST_TYPE_QUALIFYING;
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'),
204 $this->lng->txt(
'tst_pass_overview_header_lo_qualifying_all_objectives'),
209 $this->lng->txt(
'tst_pass_overview_header_lo_qualifying_per_objective'),
225 $this->lng->txt(
'tst_pass_details_overview_table_title'),
232 $this->lng->txt(
'tst_pass_details_header_lo_initial'),
238 $this->lng->txt(
'tst_pass_details_header_lo_qualifying'),
249 return $this->testType == self::LO_TEST_TYPE_INITIAL;
254 return $this->testType == self::LO_TEST_TYPE_QUALIFYING;
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'),
static getInstanceByObjId($a_obj_id)
get singleton instance
static lookupObjectiveTitle($a_objective_id, $a_add_description=false)
static getRun($a_container_id, $a_user_id, $a_test_id)
Create styles array
The data for the language used.
Stores current objective, questions and max points.