ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilExerciseImporter Class Reference

Importer class for exercises. More...

+ Inheritance diagram for ilExerciseImporter:
+ Collaboration diagram for ilExerciseImporter:

Public Member Functions

 init ()
 Initialisation.
 importXmlRepresentation ($a_entity, $a_id, $a_xml, $a_mapping)
 Import XML.
- Public Member Functions inherited from ilXmlImporter
 __construct ()
 Constructor.
 setInstallId ($a_val)
 Set installation id.
 getInstallId ()
 Get installation id.
 setInstallUrl ($a_val)
 Set installation url.
 getInstallUrl ()
 Get installation url.
 setSchemaVersion ($a_val)
 Set schema version.
 getSchemaVersion ()
 Get schema version.
 setImportDirectory ($a_val)
 Set import directory.
 getImportDirectory ()
 Get import directory.
 setSkipEntities ($a_val)
 Set skip entities.
 getSkipEntities ()
 Get skip entities.
 finalProcessing ($a_mapping)
 Final processing.

Additional Inherited Members

- Protected Attributes inherited from ilXmlImporter
 $skip_entities = array()

Detailed Description

Importer class for exercises.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
Id:

Definition at line 13 of file class.ilExerciseImporter.php.

Member Function Documentation

ilExerciseImporter::importXmlRepresentation (   $a_entity,
  $a_id,
  $a_xml,
  $a_mapping 
)

Import XML.

Parameters
@return

Reimplemented from ilXmlImporter.

Definition at line 33 of file class.ilExerciseImporter.php.

References ilXmlImporter\getSchemaVersion().

{
include_once("./Services/DataSet/classes/class.ilDataSetImportParser.php");
$parser = new ilDataSetImportParser($a_entity, $this->getSchemaVersion(),
$a_xml, $this->ds, $a_mapping);
}

+ Here is the call graph for this function:

ilExerciseImporter::init ( )

Initialisation.

Reimplemented from ilXmlImporter.

Definition at line 19 of file class.ilExerciseImporter.php.

References ilXmlImporter\getImportDirectory().

{
include_once("./Modules/Exercise/classes/class.ilExerciseDataSet.php");
$this->ds = new ilExerciseDataSet();
$this->ds->setDSPrefix("ds");
$this->ds->setImportDirectory($this->getImportDirectory());
}

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: