ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 
4 include_once("./Services/Export/classes/class.ilXmlImporter.php");
5 
14 {
15  private $logger = null;
16 
17 
21  public function __construct()
22  {
23  parent::__construct();
24  $this->logger = $GLOBALS['DIC']->logger()->obj();
25  }
26 
30  public function init()
31  {
32  include_once("./Services/Object/classes/class.ilObjectDataSet.php");
33  $this->ds = new ilObjectDataSet();
34  $this->ds->setDSPrefix("ds");
35  }
36 
37 
43  public function importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
44  {
45  include_once("./Services/DataSet/classes/class.ilDataSetImportParser.php");
47  $a_entity,
48  $this->getSchemaVersion(),
49  $a_xml,
50  $this->ds,
51  $a_mapping
52  );
53  }
54 }
__construct()
Constructor.
getSchemaVersion()
Get schema version.
Importer class for objects (currently focused on translation information)
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
Object data set class.
Manifest parser for ILIAS standard export files.
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import XML.
init()
Initialisation.
$parser
Definition: BPMN2Parser.php:23
Xml importer class.