ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilObjectImporter.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
27 {
28  protected ?ilObjectDataSet $ds = null;
29 
30  public function __construct()
31  {
33  }
34 
35  public function init(): void
36  {
37  $this->ds = new ilObjectDataSet();
38  $this->ds->setDSPrefix("ds");
39  $this->ds->setImportDirectory($this->getImportDirectory());
40  }
41 
42  public function importXmlRepresentation(
43  string $entity,
44  string $id,
45  string $xml,
46  ilImportMapping $mapping
47  ): void {
49  $entity,
50  $this->getSchemaVersion(),
51  $xml,
52  $this->ds,
53  $mapping
54  );
55  }
56 }
importXmlRepresentation(string $entity, string $id, string $xml, ilImportMapping $mapping)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Manifest parser for ILIAS standard export files.
$xml
Definition: metadata.php:351
__construct(Container $dic, ilPlugin $plugin)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...