ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilMediaObjectsImporter Class Reference

Importer class for media pools. More...

+ Inheritance diagram for ilMediaObjectsImporter:
+ Collaboration diagram for ilMediaObjectsImporter:

Public Member Functions

 init ()
 Init.
 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.
 finalProcessing ($a_mapping)
 Final processing.

Detailed Description

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

Member Function Documentation

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

Import XML.

Parameters
@return

Reimplemented from ilXmlImporter.

Definition at line 36 of file class.ilMediaObjectsImporter.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:

ilMediaObjectsImporter::init ( )

Init.

Parameters
@return

Reimplemented from ilXmlImporter.

Definition at line 22 of file class.ilMediaObjectsImporter.php.

References ilXmlImporter\getImportDirectory().

{
include_once("./Services/MediaObjects/classes/class.ilMediaObjectDataSet.php");
$this->ds = new ilMediaObjectDataSet();
$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: