protected function initTestRun(ilTestSession $session)
 {
     include_once './Modules/Course/classes/Objectives/class.ilLOTestRun.php';
     $this->run = ilLOTestRun::getRun($this->container_id, $this->user_id, ilObject::_lookupObjId($session->getRefId()));
 }
 protected function initTestRun(ilTestSession $session)
 {
     include_once './Modules/Course/classes/Objectives/class.ilLOTestRun.php';
     $this->run = ilLOTestRun::getRun($this->container_id, $this->user_id, ilObject::_lookupObjId($session->getRefId()));
     #$GLOBALS['ilLog']->write(__METHOD__.': '.print_r($this->run,true));
 }
 private function initObjectives()
 {
     require_once 'Modules/Course/classes/Objectives/class.ilLOTestRun.php';
     $loRuns = ilLOTestRun::getRun($this->getObjectiveOrientedContainerId(), $this->getUserId(), $this->getTestObjId());
     $this->objectives = array();
     foreach ($loRuns as $loRun) {
         /* @var ilLOTestRun $loRun */
         $this->objectives[$loRun->getObjectiveId()] = $this->getObjectiveTitle($loRun);
     }
 }