4include_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))
 
   29                        $newObj->createLMTree();
 
   35                        $GLOBALS[
'ilLog']->write(__METHOD__.
': Called in non container mode');
 
   40                $GLOBALS[
'ilLog']->write(__METHOD__.
': Import message is: '.$mess);
 
   42                $a_mapping->addMapping(
"Modules/LearningModule", 
"lm", $a_id, $newObj->getId());
 
Importer class for files.
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import XML.
getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
getImportDirectory()
Get import directory.