ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.ilPollImporter.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
26
class
ilPollImporter
extends
ilXmlImporter
27
{
28
protected
ilPollDataSet
$ds
;
29
30
public
function
init
(): void
31
{
32
$this->ds =
new
ilPollDataSet
();
33
$this->ds->setDSPrefix(
"ds"
);
34
}
35
36
public
function
importXmlRepresentation
(
string
$a_entity,
string
$a_id,
string
$a_xml,
ilImportMapping
$a_mapping): void
37
{
38
$this->ds->setImportDirectory($this->
getImportDirectory
());
39
$parser =
new
ilDataSetImportParser
(
40
$a_entity,
41
$this->
getSchemaVersion
(),
42
$a_xml,
43
$this->ds,
44
$a_mapping
45
);
46
}
47
}
ilXmlImporter\getSchemaVersion
getSchemaVersion()
Definition:
class.ilXmlImporter.php:77
ilImportMapping
Import mapping.
Definition:
class.ilImportMapping.php:25
ilXmlImporter\getImportDirectory
getImportDirectory()
Definition:
class.ilXmlImporter.php:87
ilPollImporter
Importer class for poll.
Definition:
class.ilPollImporter.php:26
ilDataSetImportParser
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilDataSetImportParser.php:24
ilPollImporter\init
init()
Definition:
class.ilPollImporter.php:30
ilPollImporter\importXmlRepresentation
importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
Definition:
class.ilPollImporter.php:36
ilPollImporter\$ds
ilPollDataSet $ds
Definition:
class.ilPollImporter.php:28
ilPollDataSet
Poll Dataset class.
Definition:
class.ilPollDataSet.php:35
ilXmlImporter
Xml importer class.
Definition:
class.ilXmlImporter.php:25
components
ILIAS
Poll
classes
class.ilPollImporter.php
Generated on Sun Apr 6 2025 23:03:52 for ILIAS by
1.8.13 (using
Doxyfile
)