ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilContainerImporter.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once("./Services/Export/classes/class.ilXmlImporter.php");
5 
16 {
17 
18 
19  public function init()
20  {
21  }
22 
29  function importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
30  {
31  include_once './Services/Container/classes/class.ilContainerXmlParser.php';
32 
33  $GLOBALS['ilLog']->write($a_xml);
34  $GLOBALS['ilLog']->write($a_id);
35 
36  $parser = new ilContainerXmlParser($a_mapping,trim($a_xml));
37  $parser->parse();
38  }
39 }
40 ?>