ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilObjectImporter.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4include_once("./Services/Export/classes/class.ilXmlImporter.php");
5
14{
15
19 function init()
20 {
21 include_once("./Services/Object/classes/class.ilObjectDataSet.php");
22 $this->ds = new ilObjectDataSet();
23 $this->ds->setDSPrefix("ds");
24 }
25
26
32 function importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
33 {
34 include_once("./Services/DataSet/classes/class.ilDataSetImportParser.php");
35 $parser = new ilDataSetImportParser($a_entity, $this->getSchemaVersion(),
36 $a_xml, $this->ds, $a_mapping);
37 }
38
39}
40
41?>
$parser
Definition: BPMN2Parser.php:24
An exception for terminatinating execution or to throw for unit testing.
Manifest parser for ILIAS standard export files.
Object data set class.
Importer class for objects (currently focused on translation information)
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import XML.
Xml importer class.
getSchemaVersion()
Get schema version.