ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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}
return true
Notes Data set class.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
init()
Initialisation.
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...