ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
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 
4 include_once("./Services/Export/classes/class.ilXmlImporter.php");
5 
14 {
15 
19  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  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 ?>
getSchemaVersion()
Get schema version.
Manifest parser for ILIAS standard export files.
Importer class for item groups.
Item group data set class.
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import XML.
Xml importer class.