4 include_once(
"./Services/Export/classes/class.ilXmlImporter.php");
23 include_once
'./Modules/File/classes/class.ilObjFile.php';
26 if($new_id = $a_mapping->getMapping(
'Services/Container',
'objs',$a_id))
33 $newObj->create(
true);
36 include_once(
"./Modules/File/classes/class.ilFileXMLParser.php");
39 $parser->startParsing();
41 $newObj->createProperties(
false,
false);
43 $parser->setFileContents();
44 $this->current_obj = $newObj;
48 $a_mapping->addMapping(
"Modules/File",
"file", $a_id, $newObj->getId());
49 $a_mapping->addMapping(
"Services/MetaData",
"md", $a_id.
":0:file",
50 $newObj->getId().
":0:file");