32        $this->ref_id = $a_ref_id;
 
   35        include_once 
'./Services/Xml/classes/class.ilXmlWriter.php';
 
   38        $this->log = 
$GLOBALS[
'DIC']->logger()->crs();
 
   57        $this->
getWriter()->xmlStartTag(
'Objectives');
 
   60        include_once 
'./Modules/Course/classes/Objectives/class.ilLOSettings.php';
 
   65        $course = 
$factory->getInstanceByRefId($this->ref_id, 
false);
 
   67            $this->log->warning(
'Cannot create course instance for ref_id: ' . $this->ref_id);
 
   71        include_once 
'./Modules/Course/classes/class.ilCourseObjective.php';
 
   73        $this->log->debug(
'Writing objective xml');
 
   75            $this->log->debug(
'Handling objective_id: ' . $objective_id);
 
   80        $this->
getWriter()->xmlEndTag(
'Objectives');
 
   89        return $this->
getWriter()->xmlDumpMem(
false);
 
An exception for terminatinating execution or to throw for unit testing.
static _getObjectiveIds($course_id, $a_activated_only=false)
static getInstanceByObjId($a_obj_id)
get singleton instance
__construct($a_ref_id)
Constructor.
static _lookupObjectId($a_ref_id)
lookup object id
$GLOBALS['loaded']
Global hash that tracks already loaded includes.