29 public function init(): void
32 $this->ds->setDSPrefix(
"ds");
34 $this->config = $this->
getImport()->getConfig(
"Modules/MediaPool");
35 if ($this->config->getTranslationImportMode()) {
36 $this->ds->setTranslationImportMode(
37 $this->config->getTranslationMep(),
38 $this->config->getTranslationLang()
40 $cop_config = $this->
getImport()->getConfig(
"Services/COPage");
41 $cop_config->setUpdateIfExists(
true);
42 $cop_config->setForceLanguage($this->config->getTranslationLang());
43 $cop_config->setReuseOriginallyExportedMedia(
true);
44 $cop_config->setSkipInternalLinkResolve(
true);
46 $mob_config = $this->
getImport()->getConfig(
"Services/MediaObjects");
47 $mob_config->setUsePreviousImportIds(
true);
71 foreach ($pg_map as $pg_id) {
73 $mep_id = current($mep_id);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _writeParentId(string $a_parent_type, int $a_pg_id, int $a_par_id)
Manifest parser for ILIAS standard export files.
getMappingsOfEntity(string $a_comp, string $a_entity)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...