ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
class.ilCalendarExporter.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
26
class
ilCalendarExporter
extends
ilXmlExporter
27
{
28
private
ilCalendarDataSet
$ds
;
29
33
public
function
init
(): void
34
{
35
$this->ds =
new
ilCalendarDataSet
();
36
$this->ds->initByExporter($this);
37
$this->ds->setDSPrefix(
"ds"
);
38
}
39
43
public
function
getXmlRepresentation
(
string
$a_entity,
string
$a_schema_version,
string
$a_id): string
44
{
45
$this->ds->initByExporter($this);
46
return
$this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id],
""
,
true
,
true
);
47
}
48
52
public
function
getValidSchemaVersions
(
string
$a_entity): array
53
{
54
return
array(
55
"4.3.0"
=> array(
56
"namespace"
=>
"http://www.ilias.de/Services/Calendar/cal/4_3"
,
57
"xsd_file"
=>
"ilias_cal_4_3.xsd"
,
58
"uses_dataset"
=>
true
,
59
"min"
=>
"4.3.0"
,
60
"max"
=>
""
61
)
62
);
63
}
64
}
ilCalendarExporter\init
init()
Definition:
class.ilCalendarExporter.php:33
ilXmlExporter
ilCalendarExporter\getValidSchemaVersions
getValidSchemaVersions(string $a_entity)
Definition:
class.ilCalendarExporter.php:52
ilCalendarExporter
Exporter class for calendar data (xml)
Definition:
class.ilCalendarExporter.php:26
ilCalendarExporter\$ds
ilCalendarDataSet $ds
Definition:
class.ilCalendarExporter.php:28
ilCalendarDataSet
Calendar data set class.
Definition:
class.ilCalendarDataSet.php:26
ilCalendarExporter\getXmlRepresentation
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
Definition:
class.ilCalendarExporter.php:43
components
ILIAS
Calendar
classes
class.ilCalendarExporter.php
Generated on Wed Sep 3 2025 23:02:32 for ILIAS by
1.8.13 (using
Doxyfile
)