32 $this->ref_id = $a_ref_id;
35 include_once
'./Services/Xml/classes/class.ilXmlWriter.php';
38 $this->log =
$GLOBALS[
'DIC']->logger()->crs();
59 $this->
getWriter()->xmlStartTag(
'Objectives');
62 include_once
'./Modules/Course/classes/Objectives/class.ilLOSettings.php';
67 $course =
$factory->getInstanceByRefId($this->ref_id,
false);
69 $this->log->warning(
'Cannot create course instance for ref_id: ' . $this->ref_id);
73 include_once
'./Modules/Course/classes/class.ilCourseObjective.php';
75 $this->log->debug(
'Writing objective xml');
77 $this->log->debug(
'Handling objective_id: ' . $objective_id);
82 $this->
getWriter()->xmlEndTag(
'Objectives');
91 return $this->
getWriter()->xmlDumpMem(
false);
static getInstanceByObjId($a_obj_id)
get singleton instance
__construct($a_ref_id)
Constructor.
static _getObjectiveIds($course_id, $a_activated_only=false)
static _lookupObjectId($a_ref_id)
lookup object id
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.