/** * Read course from ecs * @return boolean */ private function readCourse($course_member) { try { include_once './Services/WebServices/ECS/classes/class.ilECSImport.php'; $ecs_id = ilECSImport::lookupEContentIdByContentId($this->getServer()->getServerId(), $this->getMid(), $course_member->lectureID); include_once './Services/WebServices/ECS/classes/Course/class.ilECSCourseConnector.php'; $crs_reader = new ilECSCourseConnector($this->getServer()); return $crs_reader->getCourse($ecs_id); } catch (ilECSConnectorException $e) { throw $e; } }