ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
class.ilNotesExporter.php
Go to the documentation of this file.
1 <?php
2 
25 {
27 
31  public function init(): void
32  {
33  $this->ds = new ilNotesDataSet();
34  $this->ds->initByExporter($this);
35  $this->ds->setDSPrefix("ds");
36  }
37 
38  public function getXmlRepresentation(
39  string $a_entity,
40  string $a_schema_version,
41  string $a_id
42  ): string {
43  $this->ds->initByExporter($this);
44  return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id], "", true, true);
45  }
46 
47  public function getValidSchemaVersions(
48  string $a_entity
49  ): array {
50  return array(
51  "10.0" => array(
52  "namespace" => "https://www.ilias.de/Services/Notes/note/10",
53  "xsd_file" => "ilias_notes_10.xsd",
54  "uses_dataset" => true,
55  "min" => "10.0",
56  "max" => ""),
57  "4.3.0" => array(
58  "namespace" => "https://www.ilias.de/Services/Notes/note/4_3",
59  "xsd_file" => "ilias_usr_4_3.xsd",
60  "uses_dataset" => true,
61  "min" => "4.3.0",
62  "max" => "9.99")
63  );
64  }
65 }
init()
Initialisation.
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)
Notes Data set class.