ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilSessionImporter Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilSessionImporter:
+ Collaboration diagram for ilSessionImporter:

Public Member Functions

 init ()
 
 importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
 
- Public Member Functions inherited from ilXmlImporter
 __construct ()
 
 setImport (ilImport $a_val)
 
 getImport ()
 
 init ()
 
 setInstallId (string $a_val)
 
 getInstallId ()
 
 setInstallUrl (string $a_val)
 
 getInstallUrl ()
 
 setSchemaVersion (string $a_val)
 
 getSchemaVersion ()
 
 setImportDirectory (string $a_val)
 
 getImportDirectory ()
 
 setSkipEntities (array $a_val)
 
 getSkipEntities ()
 
 exportedFromSameInstallation ()
 
 importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
 
 finalProcessing (ilImportMapping $a_mapping)
 
 afterContainerImportProcessing (ilImportMapping $mapping)
 

Protected Attributes

ilSessionDataSet $ds
 
- Protected Attributes inherited from ilXmlImporter
array $skip_entities = array()
 
ilImport $imp
 
string $install_id
 
string $install_url
 
string $schema_version
 
string $import_directory
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Importer class for sessions

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

Definition at line 29 of file class.ilSessionImporter.php.

Member Function Documentation

◆ importXmlRepresentation()

ilSessionImporter::importXmlRepresentation ( string  $a_entity,
string  $a_id,
string  $a_xml,
ilImportMapping  $a_mapping 
)

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

References ilXmlImporter\getSchemaVersion(), and ilImportMapping\getTargetId().

39  : void
40  {
41  $this->ds->setTargetId((string) $a_mapping->getTargetId());
42  $parser = new ilDataSetImportParser(
43  $a_entity,
44  $this->getSchemaVersion(),
45  $a_xml,
46  $this->ds,
47  $a_mapping
48  );
49  }
Manifest parser for ILIAS standard export files.
+ Here is the call graph for this function:

◆ init()

ilSessionImporter::init ( )

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

33  : void
34  {
35  $this->ds = new ilSessionDataSet();
36  $this->ds->setDSPrefix("ds");
37  }
Session data set class.

Field Documentation

◆ $ds

ilSessionDataSet ilSessionImporter::$ds
protected

Definition at line 31 of file class.ilSessionImporter.php.


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