4 include_once(
"./Services/Export/classes/class.ilXmlImporter.php");
21 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolDataSet.php");
23 $this->ds->setDSPrefix(
"ds");
25 $this->config = $this->
getImport()->getConfig(
"Modules/MediaPool");
26 if ($this->config->getTranslationImportMode())
28 $this->ds->setTranslationImportMode(
29 $this->config->getTranslationLM(),
30 $this->config->getTranslationLang());
31 $cop_config = $this->
getImport()->getConfig(
"Services/COPage");
32 $cop_config->setUpdateIfExists(
true);
33 $cop_config->setForceLanguage($this->config->getTranslationLang());
34 $cop_config->setReuseOriginallyExportedMedia(
true);
35 $cop_config->setSkipInternalLinkResolve(
true);
37 $mob_config = $this->
getImport()->getConfig(
"Services/MediaObjects");
38 $mob_config->setUsePreviousImportIds(
true);
52 include_once(
"./Services/DataSet/classes/class.ilDataSetImportParser.php");
54 $a_xml, $this->ds, $a_mapping);
64 $pg_map = $a_mapping->getMappingsOfEntity(
"Modules/MediaPool",
"pg");
66 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolPage.php");
67 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolItem.php");
68 foreach ($pg_map as $pg_id)
71 $mep_id = current($mep_id);
getSchemaVersion()
Get schema version.
Manifest parser for ILIAS standard export files.
static _writeParentId($a_parent_type, $a_pg_id, $a_par_id)
Write parent id.