ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules Pages
ilDataCollectionImporter Class Reference

Class ilDataCollectionImporter. More...

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

Public Member Functions

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

Protected Attributes

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

Detailed Description

Member Function Documentation

◆ finalProcessing()

ilDataCollectionImporter::finalProcessing (   $a_mapping)

Called before finishing the import.

Parameters
$a_mapping

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

49  {
50  $this->ds->beforeFinishImport($a_mapping);
51  }

◆ importXmlRepresentation()

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

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

References ilXmlImporter\getSchemaVersion().

39  {
40  $parser = new ilDataSetImportParser($a_entity, $this->getSchemaVersion(), $a_xml, $this->ds, $a_mapping);
41  }
getSchemaVersion()
Get schema version.
Manifest parser for ILIAS standard export files.
+ Here is the call graph for this function:

◆ init()

ilDataCollectionImporter::init ( )

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

References ilXmlImporter\getImportDirectory().

22  {
23  $this->ds = new ilDataCollectionDataSet();
24  $this->ds->setDSPrefix("ds");
25  $this->ds->setImportDirectory($this->getImportDirectory());
26  }
getImportDirectory()
Get import directory.
DataCollection dataset class.
+ Here is the call graph for this function:

Field Documentation

◆ $ds

ilDataCollectionImporter::$ds
protected

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


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