4 include_once(
"./Services/Export/classes/class.ilXmlImporter.php");
32 include_once
'./Modules/Folder/classes/class.ilObjFolder.php';
33 if($new_id = $a_mapping->getMapping(
'Services/Container',
'objs',$a_id))
37 elseif($new_id = $a_mapping->getMapping(
'Services/Container',
'refs',0))
43 $this->folder =
new ilObjFolder();
44 $this->folder->create(
true);
47 include_once
'./Modules/Folder/classes/class.ilFolderXmlParser.php';
48 #$GLOBALS['ilLog']->write($a_xml);
54 $a_mapping->addMapping(
'Modules/Folder',
'fold',$a_id,$this->folder->getId());
58 $GLOBALS[
'ilLog']->write(__METHOD__.
': Parsing failed with message, "'.$e->getMessage().
'".');
60 catch(ilWebLinkXMLParserException $e)
62 $GLOBALS[
'ilLog']->write(__METHOD__.
': Parsing failed with message, "'.$e->getMessage().
'".');