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);
 
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
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.
Class ilObjectFactory This class offers methods to get instances of the type-specific object classes ...
static _lookupObjectId($a_ref_id)
lookup object id