ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ilPollImporter Class Reference

Importer class for poll. More...

+ Inheritance diagram for ilPollImporter:
+ Collaboration diagram for ilPollImporter:

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

ilPollDataSet $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

Importer class for poll.

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 26 of file class.ilPollImporter.php.

Member Function Documentation

◆ importXmlRepresentation()

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

Definition at line 36 of file class.ilPollImporter.php.

References ilXmlImporter\getImportDirectory(), and ilXmlImporter\getSchemaVersion().

36  : void
37  {
38  $this->ds->setImportDirectory($this->getImportDirectory());
39  $parser = new ilDataSetImportParser(
40  $a_entity,
41  $this->getSchemaVersion(),
42  $a_xml,
43  $this->ds,
44  $a_mapping
45  );
46  }
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()

ilPollImporter::init ( )

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

30  : void
31  {
32  $this->ds = new ilPollDataSet();
33  $this->ds->setDSPrefix("ds");
34  }
Poll Dataset class.

Field Documentation

◆ $ds

ilPollDataSet ilPollImporter::$ds
protected

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


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