ILIAS
release_4-3 Revision
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilContainerExporter.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
5
include_once
'./Services/Container/classes/class.ilContainerXmlWriter.php'
;
6
include_once
'./Services/Export/classes/class.ilXmlExporter.php'
;
7
17
class
ilContainerExporter
extends
ilXmlExporter
18
{
19
private
$writer
= null;
20
24
public
function
__construct
()
25
{
26
27
}
28
33
public
function
init
()
34
{
35
}
36
44
public
function
getXmlRepresentation
($a_entity, $a_schema_version, $a_id)
45
{
46
$GLOBALS
[
'ilLog'
]->write(__METHOD__.
': Received id = '
.$a_id);
47
$writer
=
new
ilContainerXmlWriter
(end(
ilObject::_getAllReferences
($a_id)));
48
$writer
->write();
49
return
$writer
->xmlDumpMem(
false
);
50
}
51
59
public
function
getValidSchemaVersions
($a_entity)
60
{
61
return
array (
62
"4.1.0"
=> array(
63
"namespace"
=>
"http://www.ilias.de/Modules/Folder/fold/4_1"
,
64
"xsd_file"
=>
"ilias_fold_4_1.xsd"
,
65
"uses_dataset"
=>
false
,
66
"min"
=>
"4.1.0"
,
67
"max"
=>
""
)
68
);
69
}
70
}
71
?>
Services
Container
classes
class.ilContainerExporter.php
Generated on Sat Apr 30 2016 19:00:54 for ILIAS by
1.8.1.2 (using
Doxyfile
)