4include_once(
"./Services/Export/classes/class.ilXmlImporter.php");
 
   37                include_once 
'./Modules/Course/classes/class.ilCourseXMLParser.php';
 
   38                include_once 
'./Modules/Course/classes/class.ilObjCourse.php';
 
   41                if($new_id = $a_mapping->getMapping(
'Services/Container',
'objs',$a_id))
 
   45                        #$this->course = ilObjectFactory::getInstanceByObjId($new_id,false); 
   48                elseif($new_id = $a_mapping->getMapping(
'Services/Container',
'refs',0))
 
   55                        $this->course->create(
true);
 
   58                if($a_entity == self::ENTITY_OBJECTIVE)
 
   64                        include_once 
'./Modules/Course/classes/Objectives/class.ilLOXmlParser.php';
 
   66                        $parser->setMapping($a_mapping);
 
   74                        $parser->setXMLContent($a_xml);
 
   75                        $parser->startParsing();
 
   76                        $a_mapping->addMapping(
'Modules/Course',
'crs',$a_id,$this->course->getId());
 
   80                        $GLOBALS[
'ilLog']->write(__METHOD__.
': Parsing failed with message, "'.$e->getMessage().
'".');
 
   84                        $GLOBALS[
'ilLog']->write(__METHOD__.
': Parsing failed with message, "'.$e->getMessage().
'".');
 
   96                foreach($this->final_processing_info as 
$info)
 
   99                        include_once 
'./Modules/Course/classes/Objectives/class.ilLOXmlParser.php';
 
  101                        $parser->setMapping($mapping);
 
  102                        $parser->parseObjectDependencies();
 
  112                $this->final_processing_info[] = array(
 
  113                        'course' => $a_course,
 
  114                        'entity' => $a_entity,
 
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import XML.
afterContainerImportProcessing(\ilImportMapping $mapping)
addFinalProcessingInfo($a_course, $a_entity, $a_xml)
Add information for final processing.
getInstanceByRefId($a_ref_id, $stop_on_error=true)
get an instance of an Ilias object by reference id
static _getAllReferences($a_id)
get all reference ids of object
SaxParserException thrown by ilSaxParser if property throwException is set.
$GLOBALS['PHPCAS_CLIENT']
This global variable is used by the interface class phpCAS.