4 include_once(
"./Services/Export/classes/class.ilXmlExporter.php");
22 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolDataSet.php");
24 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
25 $this->ds->setDSPrefix(
"ds");
26 $this->config = $this->
getExport()->getConfig(
"Modules/MediaPool");
27 if ($this->config->getMasterLanguageOnly())
29 $conf = $this->
getExport()->getConfig(
"Services/COPage");
30 $conf->setMasterLanguageOnly(
true);
31 $this->ds->setMasterLanguageOnly(
true);
45 include_once(
"./Modules/MediaPool/classes/class.ilObjMediaPool.php");
46 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolItem.php");
50 foreach ($a_ids as $id)
53 foreach ($m_ids as $m)
59 if ($this->config->getMasterLanguageOnly())
66 "component" =>
"Services/MediaObjects",
83 include_once(
"./Modules/MediaPool/classes/class.ilObjMediaPool.php");
84 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolItem.php");
88 foreach ($a_ids as $id)
91 foreach ($pages as $p)
93 $pg_ids[] =
"mep:".$p;
99 "component" =>
"Services/COPage",
104 if (!$this->config->getMasterLanguageOnly())
107 "component" =>
"Services/Object",
108 "entity" =>
"transl",
125 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
"",
true,
true);
139 "namespace" =>
"http://www.ilias.de/Modules/MediaPool/mep/5_1",
140 "xsd_file" =>
"ilias_mep_5_1.xsd",
141 "uses_dataset" =>
true,
145 "namespace" =>
"http://www.ilias.de/Modules/MediaPool/mep/4_1",
146 "xsd_file" =>
"ilias_mep_4_1.xsd",
147 "uses_dataset" =>
true,
Create styles array
The data for the language used.