28 public function init(): void
31 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
32 $this->ds->setDSPrefix(
"ds");
37 string $a_target_release,
40 if ($a_entity ==
"glo") {
44 foreach ($a_ids as
$id) {
45 $md_ids[] = $id .
":0:glo";
50 foreach ($a_ids as $id) {
67 foreach ($terms as $t) {
69 foreach ($defs as
$d) {
70 $page_ids[] =
"gdf:" . $d[
"id"];
71 $md_ids[] = $id .
":" . $d[
"id"] .
":gdf";
78 "component" =>
"Services/COPage",
82 "component" =>
"Services/MetaData",
89 foreach ($a_ids as $id) {
91 if (count($t_ids) > 0) {
92 $tax_ids[$t_ids[0]] = $t_ids[0];
95 if (count($tax_ids)) {
97 "component" =>
"Services/Taxonomy",
104 $advmd_ids = array();
105 foreach ($a_ids as $id) {
107 if (count($rec_ids)) {
108 foreach ($rec_ids as $rec_id) {
109 $advmd_ids[] = $id .
":" . $rec_id;
113 if (count($advmd_ids)) {
115 "component" =>
"Services/AdvancedMetaData",
122 $obj_ids = (is_array($a_ids))
126 "component" =>
"Services/Style",
127 "entity" =>
"object_style",
133 "component" =>
"Services/Object",
134 "entity" =>
"common",
138 foreach ($a_ids as $crs_id) {
139 $md_ids[] = $crs_id .
":0:glo";
141 if ($md_ids !== []) {
143 "component" =>
"Services/MetaData",
162 if ($record_obj->getParentObject() == $a_id || in_array($record_obj->getRecordId(), $sel_globals)) {
163 $active[] = $record_obj->getRecordId();
172 string $a_schema_version,
175 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id],
"",
true,
true);
182 "namespace" =>
"https://www.ilias.de/Modules/Glossary/htlm/5_4",
183 "xsd_file" =>
"ilias_glo_5_4.xsd",
184 "uses_dataset" =>
true,
188 "namespace" =>
"https://www.ilias.de/Modules/Glossary/htlm/5_1",
189 "xsd_file" =>
"ilias_glo_5_1.xsd",
190 "uses_dataset" =>
true,
194 "namespace" =>
"https://www.ilias.de/Modules/Glossary/htlm/4_1",
195 "xsd_file" =>
"ilias_glo_4_1.xsd",
196 "uses_dataset" =>
false,
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getActiveAdvMDRecords(int $a_id)
static _getActivatedRecordsByObjectType(string $a_obj_type, string $a_sub_type="", bool $a_only_optional=false)
Get activated records by object type.
static _getAllReferences(int $id)
get all reference ids for object ID
getValidSchemaVersions(string $a_entity)
static getUsageOfObject(int $a_obj_id, bool $a_include_titles=false)
static getTermList(array $a_glo_ref_id, string $searchterm="", string $a_first_letter="", string $a_def="", int $a_tax_node=0, bool $a_add_amet_fields=false, array $a_amet_filter=null, bool $a_include_references=false)
Get all terms for given set of glossary ids.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)
static getObjRecSelection(int $a_obj_id, string $a_sub_type="")
Get repository object record selection.
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getDefinitionList(int $a_term_id)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
for($i=6; $i< 13; $i++) for($i=1; $i< 13; $i++) $d