ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilMetaDataImporter Class Reference

Importer class for meta data. More...

+ Inheritance diagram for ilMetaDataImporter:
+ Collaboration diagram for ilMetaDataImporter:

Public Member Functions

 importXmlRepresentation ($a_entity, $a_schema_version, $a_id, $a_xml, $a_mapping)
 Import XML.
 importXmlRepresentation ($a_entity, $a_id, $a_xml, $a_mapping)
 Import XML.
- Public Member Functions inherited from ilXmlImporter
 __construct ()
 Constructor.
 init ()
 Init.
 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.
 finalProcessing ($a_mapping)
 Final processing.

Detailed Description

Importer class for meta data.

Importer class for media pools.

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.ilMetaDataImporter.php.

Member Function Documentation

ilMetaDataImporter::importXmlRepresentation (   $a_entity,
  $a_schema_version,
  $a_id,
  $a_xml,
  $a_mapping 
)

Import XML.

Parameters
@return

Definition at line 21 of file class.ilMetaDataImporter.php.

{
var_dump($a_xml);
}
ilMetaDataImporter::importXmlRepresentation (   $a_entity,
  $a_id,
  $a_xml,
  $a_mapping 
)

Import XML.

Parameters
@return

Reimplemented from ilXmlImporter.

Definition at line 21 of file class.ilMetaDataImporter.php.

{
$new_id = $a_mapping->getMapping("Services/MetaData", "md", $a_id);
if ($new_id != "")
{
include_once("./Services/MetaData/classes/class.ilMDXMLCopier.php");
$id = explode(":", $new_id);
$xml_copier = new ilMDXMLCopier($a_xml, $id[0], $id[1], $id[2]);
$xml_copier->startParsing();
}
}

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