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.ilLearningModuleExporter.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
include_once(
"./Services/Export/classes/class.ilXmlExporter.php"
);
5
13
class
ilLearningModuleExporter
extends
ilXmlExporter
14
{
15
private
$ds
;
16
20
function
init
()
21
{
22
}
23
32
public
function
getXmlRepresentation
($a_entity, $a_schema_version, $a_id)
33
{
34
include_once
'./Modules/LearningModule/classes/class.ilObjLearningModule.php'
;
35
$lm =
new
ilObjLearningModule
($a_id,
false
);
36
37
include_once
'./Modules/LearningModule/classes/class.ilContObjectExport.php'
;
38
$exp =
new
ilContObjectExport
($lm);
39
$zip = $exp->buildExportFile();
40
41
}
42
50
function
getValidSchemaVersions
($a_entity)
51
{
52
return
array (
53
"4.1.0"
=> array(
54
"namespace"
=>
"http://www.ilias.de/Modules/LearningModule/htlm/4_1"
,
55
"xsd_file"
=>
"ilias_lm_4_1.xsd"
,
56
"uses_dataset"
=>
false
,
57
"min"
=>
"4.1.0"
,
58
"max"
=>
""
)
59
);
60
}
61
62
}
63
64
?>
Modules
LearningModule
classes
class.ilLearningModuleExporter.php
Generated on Sat Apr 30 2016 19:00:39 for ILIAS by
1.8.1.2 (using
Doxyfile
)