ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilItemGroupExporter.php
Go to the documentation of this file.
1 <?php
2 
25 {
27 
28  public function init(): void
29  {
30  $this->ds = new ilItemGroupDataSet();
31  $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
32  $this->ds->setDSPrefix("ds");
33  }
34 
35  public function getXmlRepresentation(
36  string $a_entity,
37  string $a_schema_version,
38  string $a_id
39  ): string {
40  return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id], "", true, true);
41  }
42 
43  public function getValidSchemaVersions(string $a_entity): array
44  {
45  return array(
46  "5.3.0" => array(
47  "namespace" => "https://www.ilias.de/Modules/ItemGroup/itgr/5_3",
48  "xsd_file" => "ilias_itgr_5_3.xsd",
49  "uses_dataset" => true,
50  "min" => "5.3.0",
51  "max" => ""),
52  "4.3.0" => array(
53  "namespace" => "https://www.ilias.de/Modules/ItemGroup/itgr/4_3",
54  "xsd_file" => "ilias_itgr_4_3.xsd",
55  "uses_dataset" => true,
56  "min" => "4.3.0",
57  "max" => "")
58  );
59  }
60 }
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...
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...
getValidSchemaVersions(string $a_entity)