ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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->initByExporter($this);
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}
return true
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...
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
getValidSchemaVersions(string $a_entity)
Returns schema versions that the component can export to.
Xml Exporter class.
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...