ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 */
3include_once("./Services/Export/classes/class.ilXmlImporter.php");
4require_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}
$parser
Definition: BPMN2Parser.php:23
An exception for terminatinating execution or to throw for unit testing.
Manifest parser for ILIAS standard export files.
Individual Assessment dataset class.
importXmlRepresentation($entity, $id, $xml, $mapping)
Import xml representation.
Xml importer class.
getSchemaVersion()
Get schema version.
getImportDirectory()
Get import directory.
if(!array_key_exists('StateId', $_REQUEST)) $id