29 public function init(): void
32 $this->ds->initByExporter($this);
33 $this->ds->setDSPrefix(
"ds");
35 $config = $this->
getExport()->getExportConfigs()->getElementByComponent(
'components/ILIAS/MediaPool');
37 if ($this->config->getMasterLanguageOnly()) {
39 $co_config = $this->
getExport()->getExportConfigs()->getElementByComponent(
'components/ILIAS/COPage');
41 $conf->setMasterLanguageOnly(
true, $this->config->getIncludeMedia());
42 $this->ds->setMasterLanguageOnly(
true);
48 string $a_target_release,
53 foreach ($a_ids as
$id) {
55 foreach ($m_ids as $m) {
60 if ($this->config->getMasterLanguageOnly()) {
66 "component" =>
"components/ILIAS/MediaObjects",
74 string $a_target_release,
79 foreach ($a_ids as
$id) {
81 foreach ($pages as $p) {
82 $pg_ids[] =
"mep:" . $p;
88 "component" =>
"components/ILIAS/COPage",
93 if (!$this->config->getMasterLanguageOnly()) {
95 "component" =>
"components/ILIAS/ILIASObject",
99 "component" =>
"components/ILIAS/ILIASObject",
100 "entity" =>
"transl_entry",
105 "component" =>
"components/ILIAS/ILIASObject",
110 foreach ($a_ids as $id) {
111 $md_ids[] = $id .
':0:mep';
113 if (!empty($md_ids)) {
115 'component' =>
'components/ILIAS/MetaData',
126 string $a_schema_version,
129 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id],
"",
true,
true);
136 "namespace" =>
"https://www.ilias.de/Modules/MediaPool/mep/5_1",
137 "xsd_file" =>
"ilias_mep_5_1.xsd",
138 "uses_dataset" =>
true,
142 "namespace" =>
"https://www.ilias.de/Modules/MediaPool/mep/4_1",
143 "xsd_file" =>
"ilias_mep_4_1.xsd",
144 "uses_dataset" =>
true,
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins