4 include_once(
"./Services/Export/classes/class.ilXmlImporter.php");
24 if($new_id = $a_mapping->getMapping(
'Services/Container',
'objs',$a_id))
29 $GLOBALS[
'ilLog']->write(__METHOD__.
': Using XML file '.$xml_file);
35 $GLOBALS[
'ilLog']->write(__METHOD__.
': Called in non container mode');
40 if(!file_exists($xml_file))
42 $GLOBALS[
'ilLog']->write(__METHOD__.
': ERROR Cannot find '.$xml_file);
46 include_once
'./Modules/LearningModule/classes/class.ilContObjParser.php';
53 $contParser->startParsing();
56 $a_mapping->addMapping(
"Modules/Glossary",
"glo", $a_id, $newObj->getId());