ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilIndividualAssessmentImporter.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3 include_once("./Services/Export/classes/class.ilXmlImporter.php");
4 require_once("Modules/IndividualAssessment/classes/class.ilIndividualAssessmentDataSet.php");
5 
12 {
16  public function init()
17  {
18  $this->ds = new ilIndividualAssessmentDataSet();
19  $this->ds->setImportDirectory($this->getImportDirectory());
20  }
21 
30  public function importXmlRepresentation($entity, $id, $xml, $mapping)
31  {
32  $parser = new ilDataSetImportParser($entity, $this->getSchemaVersion(), $xml, $this->ds, $mapping);
33  }
34 }
getSchemaVersion()
Get schema version.
Individual Assessment dataset class.
getImportDirectory()
Get import directory.
if(!array_key_exists('StateId', $_REQUEST)) $id
Manifest parser for ILIAS standard export files.
$xml
Definition: metadata.php:240
importXmlRepresentation($entity, $id, $xml, $mapping)
Import xml representation.
$parser
Definition: BPMN2Parser.php:23
Xml importer class.