ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilPortfolioExporter.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
15
class
ilPortfolioExporter
extends
ilXmlExporter
16
{
17
protected
$ds
;
18
19
public
function
init
()
20
{
21
include_once(
"./Modules/Portfolio/classes/class.ilPortfolioDataSet.php"
);
22
$this->ds =
new
ilPortfolioDataSet
();
23
$this->ds->setDSPrefix(
"ds"
);
24
}
25
26
public
function
getXmlExportTailDependencies
($a_entity, $a_target_release, $a_ids)
27
{
28
include_once(
"./Modules/Portfolio/classes/class.ilPortfolioTemplatePage.php"
);
29
$pg_ids = array();
30
foreach
($a_ids as $id)
31
{
32
foreach
(
ilPortfolioTemplatePage::getAllPages
($id) as $p)
33
{
34
$pg_ids[] =
"prtt:"
.$p[
"id"
];
35
}
36
}
37
38
return
array (
39
array(
40
"component"
=>
"Services/COPage"
,
41
"entity"
=>
"pg"
,
42
"ids"
=> $pg_ids)
43
);
44
}
45
46
public
function
getXmlRepresentation
($a_entity, $a_schema_version, $a_id)
47
{
48
$this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
49
return
$this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
""
,
true
,
true
);
50
}
51
52
public
function
getValidSchemaVersions
($a_entity)
53
{
54
return
array (
55
"4.4.0"
=> array(
56
"namespace"
=>
"http://www.ilias.de/Modules/Portfolio/4_4"
,
57
"xsd_file"
=>
"ilias_portfolio_4_4.xsd"
,
58
"uses_dataset"
=>
true
,
59
"min"
=>
"4.4.0"
,
60
"max"
=>
"4.9.9"
),
61
"5.0.0"
=> array(
62
"namespace"
=>
"http://www.ilias.de/Modules/Portfolio/5_0"
,
63
"xsd_file"
=>
"ilias_portfolio_5_0.xsd"
,
64
"uses_dataset"
=>
true
,
65
"min"
=>
"5.0.0"
,
66
"max"
=>
""
)
67
);
68
}
69
}
70
71
?>
ilPortfolioExporter\getValidSchemaVersions
getValidSchemaVersions($a_entity)
Definition:
class.ilPortfolioExporter.php:52
ilPortfolioExporter
Portfolio definition.
Definition:
class.ilPortfolioExporter.php:15
ilPortfolioExporter\getXmlRepresentation
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Definition:
class.ilPortfolioExporter.php:46
ilPortfolioDataSet
Portfolio Data set class.
Definition:
class.ilPortfolioDataSet.php:19
ilXmlExporter
Xml Exporter class.
Definition:
class.ilXmlExporter.php:11
ilPortfolioExporter\getXmlExportTailDependencies
getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
Definition:
class.ilPortfolioExporter.php:26
ilPortfolioExporter\$ds
$ds
Definition:
class.ilPortfolioExporter.php:17
ilPortfolioPage\getAllPages
static getAllPages($a_portfolio_id)
Get pages of portfolio.
Definition:
class.ilPortfolioPage.php:282
ilPortfolioExporter\init
init()
Definition:
class.ilPortfolioExporter.php:19
Modules
Portfolio
classes
class.ilPortfolioExporter.php
Generated on Mon Mar 31 2025 19:00:37 for ILIAS by
1.8.13 (using
Doxyfile
)