ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
class.ilCalendarExporter.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
/* Copyright (c) 1998-2012 ILIAS open source, Extended GPL, see docs/LICENSE */
21
28
class
ilCalendarExporter
extends
ilXmlExporter
29
{
30
private
ilCalendarDataSet
$ds
;
31
35
public
function
init
(): void
36
{
37
$this->ds =
new
ilCalendarDataSet
();
38
$this->ds->initByExporter($this);
39
$this->ds->setDSPrefix(
"ds"
);
40
}
41
45
public
function
getXmlRepresentation
(
string
$a_entity,
string
$a_schema_version,
string
$a_id): string
46
{
47
$this->ds->initByExporter($this);
48
return
$this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id],
""
,
true
,
true
);
49
}
50
54
public
function
getValidSchemaVersions
(
string
$a_entity): array
55
{
56
return
array(
57
"4.3.0"
=> array(
58
"namespace"
=>
"http://www.ilias.de/Services/Calendar/cal/4_3"
,
59
"xsd_file"
=>
"ilias_cal_4_3.xsd"
,
60
"uses_dataset"
=>
true
,
61
"min"
=>
"4.3.0"
,
62
"max"
=>
""
63
)
64
);
65
}
66
}
ilCalendarExporter\init
init()
Definition:
class.ilCalendarExporter.php:35
ilXmlExporter
ilCalendarExporter\getValidSchemaVersions
getValidSchemaVersions(string $a_entity)
Definition:
class.ilCalendarExporter.php:54
ilCalendarExporter
Exporter class for calendar data (xml)
Definition:
class.ilCalendarExporter.php:28
ilCalendarExporter\$ds
ilCalendarDataSet $ds
Definition:
class.ilCalendarExporter.php:30
ilCalendarDataSet
Calendar data set class.
Definition:
class.ilCalendarDataSet.php:12
ilCalendarExporter\getXmlRepresentation
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
Definition:
class.ilCalendarExporter.php:45
components
ILIAS
Calendar
classes
class.ilCalendarExporter.php
Generated on Wed Sep 10 2025 15:15:09 for ILIAS by
1.8.13 (using
Doxyfile
)