ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilObjectImporter 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 ilObjectImporter:
+ Collaboration diagram for ilObjectImporter:

Public Member Functions

 __construct ()
 
 init ()
 
 importXmlRepresentation (string $entity, string $id, string $xml, ilImportMapping $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

ilObjectDataSet $ds = null
 
- 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 objects (currently focused on translation information)

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

Definition at line 26 of file class.ilObjectImporter.php.

Constructor & Destructor Documentation

◆ __construct()

ilObjectImporter::__construct ( )

Definition at line 30 of file class.ilObjectImporter.php.

References ILIAS\GlobalScreen\Provider\__construct().

31  {
33  }
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ importXmlRepresentation()

ilObjectImporter::importXmlRepresentation ( string  $entity,
string  $id,
string  $xml,
ilImportMapping  $mapping 
)

Definition at line 42 of file class.ilObjectImporter.php.

References ilXmlImporter\getSchemaVersion().

47  : void {
49  $entity,
50  $this->getSchemaVersion(),
51  $xml,
52  $this->ds,
53  $mapping
54  );
55  }
Manifest parser for ILIAS standard export files.
$xml
Definition: metadata.php:351
+ Here is the call graph for this function:

◆ init()

ilObjectImporter::init ( )

Definition at line 35 of file class.ilObjectImporter.php.

References ilXmlImporter\getImportDirectory().

35  : void
36  {
37  $this->ds = new ilObjectDataSet();
38  $this->ds->setDSPrefix("ds");
39  $this->ds->setImportDirectory($this->getImportDirectory());
40  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

Field Documentation

◆ $ds

ilObjectDataSet ilObjectImporter::$ds = null
protected

Definition at line 28 of file class.ilObjectImporter.php.


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