ILIAS
release_4-4 Revision
◀ 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
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
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.ilNewsImporter.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
include_once(
"./Services/Export/classes/class.ilXmlImporter.php"
);
5
13
class
ilNewsImporter
extends
ilXmlImporter
14
{
15
19
function
init
()
20
{
21
include_once(
"./Services/News/classes/class.ilNewsDataSet.php"
);
22
$this->ds =
new
ilNewsDataSet
();
23
$this->ds->setDSPrefix(
"ds"
);
24
}
25
26
33
function
importXmlRepresentation
($a_entity, $a_id, $a_xml, $a_mapping)
34
{
35
include_once(
"./Services/DataSet/classes/class.ilDataSetImportParser.php"
);
36
$parser =
new
ilDataSetImportParser
($a_entity, $this->
getSchemaVersion
(),
37
$a_xml, $this->ds, $a_mapping);
38
}
39
}
40
41
?>
ilXmlImporter\getSchemaVersion
getSchemaVersion()
Get schema version.
Definition:
class.ilXmlImporter.php:88
ilNewsImporter
Importer class for news.
Definition:
class.ilNewsImporter.php:13
ilDataSetImportParser
Manifest parser for ILIAS standard export files.
Definition:
class.ilDataSetImportParser.php:13
ilNewsImporter\importXmlRepresentation
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import XML.
Definition:
class.ilNewsImporter.php:33
ilNewsImporter\init
init()
Initialisation.
Definition:
class.ilNewsImporter.php:19
ilNewsDataSet
News data set class.
Definition:
class.ilNewsDataSet.php:13
ilXmlImporter
Xml importer class.
Definition:
class.ilXmlImporter.php:11
Services
News
classes
class.ilNewsImporter.php
Generated on Mon Dec 21 2020 19:01:18 for ILIAS by
1.8.13 (using
Doxyfile
)