4include_once(
"./Services/Export/classes/class.ilXmlImporter.php");
 
   32                include_once 
'./Modules/Category/classes/class.ilObjCategory.php';
 
   33                if($new_id = $a_mapping->getMapping(
'Services/Container',
'objs',$a_id))
 
   39                elseif($new_id = $a_mapping->getMapping(
'Services/Container',
'refs',0))
 
   46                        $this->category->create(
true);
 
   49                include_once 
'./Modules/Category/classes/class.ilCategoryXmlParser.php';
 
   54                        $parser->setCategory($this->category);
 
   57                        $a_mapping->addMapping(
'Modules/Category',
'cat',$a_id,$this->category->getId());
 
   61                        $GLOBALS[
'ilLog']->write(__METHOD__.
': Parsing failed with message, "'.$e->getMessage().
'".');
 
   65                        $GLOBALS[
'ilLog']->write(__METHOD__.
': Parsing failed with message, "'.$e->getMessage().
'".');
 
   68                foreach($a_mapping->getMappingsOfEntity(
'Services/Container', 
'objs') as 
$old => 
$new)
 
   75                        $a_mapping->addMapping(
"Services/Taxonomy", 
"tax_item",
 
   79                        $a_mapping->addMapping(
"Services/Taxonomy", 
"tax_item_obj_id",
 
   95                include_once(
"./Services/Taxonomy/classes/class.ilObjTaxonomy.php");
 
   96                $maps = $a_mapping->getMappingsOfEntity(
"Modules/Category", 
"cat");
 
   99                        if (
$old != 
"new_id" && (
int) 
$old > 0)
 
  102                                $new_tax_ids = $a_mapping->getMapping(
"Services/Taxonomy", 
"tax_usage_of_obj", 
$old);
 
  103                                $tax_ids = explode(
":", $new_tax_ids);
 
  104                                foreach ($tax_ids as $tid)
 
An exception for terminatinating execution or to throw for unit testing.
finalProcessing($a_mapping)
Final processing.
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import XML.
static saveUsage($a_tax_id, $a_obj_id)
Save Usage.
static 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
static _lookupType($a_id, $a_reference=false)
lookup object type
SaxParserException thrown by ilSaxParser if property throwException is set.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.