ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilDataCollectionImporter Class Reference

Class ilDataCollectionImporter. More...

+ Inheritance diagram for ilDataCollectionImporter:
+ Collaboration diagram for ilDataCollectionImporter:

Public Member Functions

 init ()
 Init.
 importXmlRepresentation ($a_entity, $a_id, $a_xml, $a_mapping)
 Executes the Import.
 finalProcessing ($a_mapping)
 Called before finishing the import.
- 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.

Protected Attributes

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

Detailed Description

Member Function Documentation

ilDataCollectionImporter::finalProcessing (   $a_mapping)

Called before finishing the import.

Parameters
$a_mapping

Reimplemented from ilXmlImporter.

Definition at line 49 of file class.ilDataCollectionImporter.php.

{
$this->ds->beforeFinishImport($a_mapping);
}
ilDataCollectionImporter::importXmlRepresentation (   $a_entity,
  $a_id,
  $a_xml,
  $a_mapping 
)

Executes the Import.

Parameters
$a_entity
$a_id
$a_xml
$a_mapping
Returns
string|void

Reimplemented from ilXmlImporter.

Definition at line 39 of file class.ilDataCollectionImporter.php.

References ilXmlImporter\getSchemaVersion().

{
$parser = new ilDataSetImportParser($a_entity, $this->getSchemaVersion(), $a_xml, $this->ds, $a_mapping);
}

+ Here is the call graph for this function:

ilDataCollectionImporter::init ( )

Init.

Reimplemented from ilXmlImporter.

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

References ilXmlImporter\getImportDirectory().

{
$this->ds = new ilDataCollectionDataSet();
$this->ds->setDSPrefix("ds");
$this->ds->setImportDirectory($this->getImportDirectory());
}

+ Here is the call graph for this function:

Field Documentation

ilDataCollectionImporter::$ds
protected

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


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