ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilExerciseImporter.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
11{
12
16 public function init()
17 {
18 $this->ds = new ilExerciseDataSet();
19 $this->ds->setDSPrefix("ds");
20 $this->ds->setImportDirectory($this->getImportDirectory());
21 }
22
29 public function importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
30 {
32 $a_entity,
33 $this->getSchemaVersion(),
34 $a_xml,
35 $this->ds,
36 $a_mapping
37 );
38 }
39}
$parser
Definition: BPMN2Parser.php:23
An exception for terminatinating execution or to throw for unit testing.
Manifest parser for ILIAS standard export files.
Exercise data set class.
Importer class for exercises.
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import XML.
Xml importer class.
getSchemaVersion()
Get schema version.
getImportDirectory()
Get import directory.