4 include_once(
"./Services/Export/classes/class.ilXmlExporter.php");
26 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolDataSet.php");
28 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
29 $this->ds->setDSPrefix(
"ds");
30 $this->config = $this->
getExport()->getConfig(
"Modules/MediaPool");
31 if ($this->config->getMasterLanguageOnly()) {
32 $conf = $this->
getExport()->getConfig(
"Services/COPage");
33 $conf->setMasterLanguageOnly(
true, $this->config->getIncludeMedia());
34 $this->ds->setMasterLanguageOnly(
true);
48 include_once(
"./Modules/MediaPool/classes/class.ilObjMediaPool.php");
49 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolItem.php");
53 foreach ($a_ids as
$id) {
55 foreach ($m_ids as
$m) {
60 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) {
90 foreach ($pages as $p) {
91 $pg_ids[] =
"mep:" . $p;
97 "component" =>
"Services/COPage",
102 if (!$this->config->getMasterLanguageOnly()) {
104 "component" =>
"Services/Object",
105 "entity" =>
"transl",
122 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
"",
true,
true);
136 "namespace" =>
"http://www.ilias.de/Modules/MediaPool/mep/5_1",
137 "xsd_file" =>
"ilias_mep_5_1.xsd",
138 "uses_dataset" =>
true,
142 "namespace" =>
"http://www.ilias.de/Modules/MediaPool/mep/4_1",
143 "xsd_file" =>
"ilias_mep_4_1.xsd",
144 "uses_dataset" =>
true,
if(!array_key_exists('StateId', $_REQUEST)) $id
Create styles array
The data for the language used.