ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
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

ilStyleDataSet $ds
 
 $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 43 of file class.ilStyleImporter.php.

References ilXmlImporter\getSchemaVersion().

43  : void
44  {
45  $this->log->debug("import xml " . $a_entity);
46  $parser = new ilDataSetImportParser(
47  $a_entity,
48  $this->getSchemaVersion(),
49  $a_xml,
50  $this->ds,
51  $a_mapping
52  );
53  }
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:

◆ init()

ilStyleImporter::init ( )

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

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

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

Field Documentation

◆ $ds

ilStyleDataSet ilStyleImporter::$ds
protected

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

◆ $log

ilStyleImporter::$log
protected

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


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