ILIAS  release_7 Revision v7.30-3-g800a261c036
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}
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.
$xml
Definition: metadata.php:332