ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilIndividualAssessmentExporter.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
include_once(
"./Services/Export/classes/class.ilXmlExporter.php"
);
4
require_once(
"Modules/IndividualAssessment/classes/class.ilIndividualAssessmentDataSet.php"
);
5
11
class
ilindividualAssessmentExporter
extends
ilXmlExporter
12
{
13
17
public
function
init
()
18
{
19
$this->ds =
new
ilIndividualAssessmentDataSet
();
20
}
21
25
public
function
getXmlRepresentation
($a_entity, $a_schema_version, $a_id)
26
{
27
ilUtil::makeDirParents
($this->
getAbsoluteExportDirectory
());
28
$this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
29
30
return
$this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
''
,
true
,
true
);
31
}
32
36
public
function
getXmlExportTailDependencies
($a_entity, $a_target_release, $a_ids)
37
{
38
$res
= [];
39
40
if
($a_entity ==
"iass"
) {
41
// service settings
42
$res
[] = array(
43
"component"
=>
"Services/Object"
,
44
"entity"
=>
"common"
,
45
"ids"
=> $a_ids
46
);
47
}
48
49
return
$res
;
50
}
51
55
public
function
getValidSchemaVersions
($a_entity)
56
{
57
return
array(
58
"5.2.0"
=> array(
59
"namespace"
=>
"http://www.ilias.de/Services/User/iass/5_2"
,
60
"xsd_file"
=>
"ilias_iass_5_2.xsd"
,
61
"uses_dataset"
=>
true
,
62
"min"
=>
"5.2.0"
,
63
"max"
=>
"5.2.99"
),
64
"5.3.0"
=> array(
65
"namespace"
=>
"http://www.ilias.de/Services/User/iass/5_3"
,
66
"xsd_file"
=>
"ilias_iass_5_3.xsd"
,
67
"uses_dataset"
=>
true
,
68
"min"
=>
"5.3.0"
,
69
"max"
=>
""
)
70
);
71
}
72
}
ilUtil\makeDirParents
static makeDirParents($a_dir)
Create a new directory and all parent directories.
Definition:
class.ilUtil.php:2205
ilindividualAssessmentExporter\getXmlRepresentation
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Definition:
class.ilIndividualAssessmentExporter.php:25
ilIndividualAssessmentDataSet
Individual Assessment dataset class.
Definition:
class.ilIndividualAssessmentDataSet.php:10
ilindividualAssessmentExporter\init
init()
initialize the exporter
Definition:
class.ilIndividualAssessmentExporter.php:17
ilXmlExporter
Xml Exporter class.
Definition:
class.ilXmlExporter.php:11
$res
foreach($_POST as $key=> $value) $res
Definition:
save_question_post_data.php:15
ilXmlExporter\getAbsoluteExportDirectory
getAbsoluteExportDirectory()
Get absolute export directory.
Definition:
class.ilXmlExporter.php:103
ilindividualAssessmentExporter\getXmlExportTailDependencies
getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
Definition:
class.ilIndividualAssessmentExporter.php:36
php
ilindividualAssessmentExporter
Manual Assessment exporter class.
Definition:
class.ilIndividualAssessmentExporter.php:11
ilindividualAssessmentExporter\getValidSchemaVersions
getValidSchemaVersions($a_entity)
Definition:
class.ilIndividualAssessmentExporter.php:55
Modules
IndividualAssessment
classes
class.ilIndividualAssessmentExporter.php
Generated on Thu Jan 16 2025 19:02:04 for ILIAS by
1.8.13 (using
Doxyfile
)