4 include_once(
"./Services/Export/classes/class.ilXmlImporter.php");
36 abstract protected function getType();
41 abstract protected function initParser($a_xml);
60 include_once
'./Modules/Category/classes/class.ilObjCategory.php';
61 if ($new_id = $a_mapping->getMapping(
'Services/Container',
'objs', $a_id)) {
66 elseif ($new_id = $a_mapping->getMapping(
'Services/Container',
'refs', 0)) {
79 $a_mapping->addMapping(
86 $GLOBALS[
'ilLog']->write(__METHOD__ .
': Parsing failed with message, "' . $e->getMessage() .
'".');
88 $GLOBALS[
'ilLog']->write(__METHOD__ .
': Parsing failed with message, "' . $e->getMessage() .
'".');
initReference($a_ref_id=0)
Init reference.
initParser($a_xml)
Init xml parser.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
SaxParserException thrown by ilSaxParser if property throwException is set.
static _getAllReferences($a_id)
get all reference ids of object
getType()
Get reference type.
getReference()
get reference
static getInstanceByRefId($a_ref_id, $stop_on_error=true)
get an instance of an Ilias object by reference id
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import XML.