ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilTaxonomyExporter.php
Go to the documentation of this file.
1<?php
2
24{
25 private ?ilTaxonomyDataSet $ds = null;
26
30 public function init(): void
31 {
32 $this->ds = new ilTaxonomyDataSet();
33 $this->ds->initByExporter($this);
34 $this->ds->setDSPrefix("ds");
35 }
36
44 public function getXmlExportHeadDependencies(string $a_entity, string $a_target_release, array $a_ids): array
45 {
46 return array();
47 }
48
56 public function getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids): array
57 {
58 return array();
59 }
60
68 public function getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id): string
69 {
70 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id], "", true, true);
71 }
72
80 public function getValidSchemaVersions(string $a_entity): array
81 {
82 return array(
83 "4.3.0" => array(
84 "namespace" => "http://www.ilias.de/Services/Taxonomy/tax/4_3",
85 "xsd_file" => "ilias_tax_4_3.xsd",
86 "uses_dataset" => true,
87 "min" => "4.3.0",
88 "max" => ""
89 )
90 );
91 }
92}
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...
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)
Get tail dependencies.
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
Get xml representation.
getValidSchemaVersions(string $a_entity)
Returns schema versions that the component can export to.
getXmlExportHeadDependencies(string $a_entity, string $a_target_release, array $a_ids)
Get head dependencies.
Xml Exporter class.