ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilItemGroupImporter.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4include_once("./Services/Export/classes/class.ilXmlImporter.php");
5
14{
15
19 public function init()
20 {
21 include_once("./Modules/ItemGroup/classes/class.ilItemGroupDataSet.php");
22 $this->ds = new ilItemGroupDataSet();
23 $this->ds->setDSPrefix("ds");
24 }
25
26
33 public function importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
34 {
35 include_once("./Services/DataSet/classes/class.ilDataSetImportParser.php");
36 $parser = new ilDataSetImportParser(
37 $a_entity,
38 $this->getSchemaVersion(),
39 $a_xml,
40 $this->ds,
41 $a_mapping
42 );
43 }
44}
An exception for terminatinating execution or to throw for unit testing.
Manifest parser for ILIAS standard export files.
Item group data set class.
Importer class for item groups.
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import XML.
Xml importer class.
getSchemaVersion()
Get schema version.