ILIAS  release_8 Revision v8.23
ilStyleImporter 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 ilStyleImporter:
+ Collaboration diagram for ilStyleImporter:

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

 $log
 
- 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 style

Author
Jörg Lützenkirchen luetz.nosp@m.enki.nosp@m.rchen.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

Definition at line 24 of file class.ilStyleImporter.php.

Member Function Documentation

◆ importXmlRepresentation()

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

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

References ilXmlImporter\getSchemaVersion().

42  : void
43  {
44  $this->log->debug("import xml " . $a_entity);
45  $parser = new ilDataSetImportParser(
46  $a_entity,
47  $this->getSchemaVersion(),
48  $a_xml,
49  $this->ds,
50  $a_mapping
51  );
52  }
Manifest parser for ILIAS standard export files.
+ Here is the call graph for this function:

◆ init()

ilStyleImporter::init ( )

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

References ilXmlImporter\getImportDirectory(), and ilLoggerFactory\getLogger().

31  : void
32  {
33  $this->log = ilLoggerFactory::getLogger('styl');
34 
35  $this->ds = new ilStyleDataSet();
36  $this->ds->setDSPrefix("ds");
37  $this->ds->setImportDirectory($this->getImportDirectory());
38 
39  $this->log->debug("initialized");
40  }
static getLogger(string $a_component_id)
Get component logger.
Style Data set class.
+ Here is the call graph for this function:

Field Documentation

◆ $log

ilStyleImporter::$log
protected

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


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