ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilPollExporter Class Reference

Poll export definition. More...

+ Inheritance diagram for ilPollExporter:
+ Collaboration diagram for ilPollExporter:

Public Member Functions

 init ()
 
 getXmlRepresentation ($a_entity, $a_schema_version, $a_id)
 
 getValidSchemaVersions ($a_entity)
 
- Public Member Functions inherited from ilXmlExporter
 __construct ()
 Constructor. More...
 
 setExport (ilExport $a_exp)
 Set export object. More...
 
 getExport ()
 Get export. More...
 
 getXmlRepresentation ($a_entity, $a_schema_version, $a_id)
 Get xml representation. More...
 
 init ()
 
 setExportDirectories ($a_dir_relative, $a_dir_absolute)
 Export directories. More...
 
 getRelativeExportDirectory ()
 Get relative export directory. More...
 
 getAbsoluteExportDirectory ()
 Get absolute export directory. More...
 
 getXmlExportHeadDependencies ($a_entity, $a_target_release, $a_ids)
 Get head dependencies. More...
 
 getXmlExportTailDependencies ($a_entity, $a_target_release, $a_ids)
 Get tail dependencies. More...
 
 getValidSchemaVersions ($a_entity)
 Returns schema versions that the component can export to. More...
 
 determineSchemaVersion ($a_entity, $a_target_release)
 Determine schema version. More...
 

Protected Attributes

 $ds
 
- Protected Attributes inherited from ilXmlExporter
 $dir_relative
 
 $dir_absolute
 
 $exp
 

Additional Inherited Members

- Static Public Member Functions inherited from ilXmlExporter
static lookupExportDirectory ($a_obj_type, $a_obj_id, $a_export_type='xml', $a_entity="")
 export directory lookup More...
 

Detailed Description

Poll export definition.

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

Definition at line 14 of file class.ilPollExporter.php.

Member Function Documentation

◆ getValidSchemaVersions()

ilPollExporter::getValidSchemaVersions (   $a_entity)

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

References array.

32  {
33  return array (
34  "4.3.0" => array(
35  "namespace" => "http://www.ilias.de/Services/Modules/Poll/4_3",
36  "xsd_file" => "ilias_poll_4_3.xsd",
37  "uses_dataset" => true,
38  "min" => "4.3.0",
39  "max" => "4.4.99"),
40  "5.0.0" => array(
41  "namespace" => "http://www.ilias.de/Services/Modules/Poll/5_0",
42  "xsd_file" => "ilias_poll_5_0.xsd",
43  "uses_dataset" => true,
44  "min" => "5.0.0",
45  "max" => "")
46  );
47  }
Create styles array
The data for the language used.

◆ getXmlRepresentation()

ilPollExporter::getXmlRepresentation (   $a_entity,
  $a_schema_version,
  $a_id 
)

Definition at line 25 of file class.ilPollExporter.php.

26  {
27  $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
28  return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id, "", true, true);
29  }

◆ init()

ilPollExporter::init ( )

Definition at line 18 of file class.ilPollExporter.php.

19  {
20  include_once("./Modules/Poll/classes/class.ilPollDataSet.php");
21  $this->ds = new ilPollDataSet();
22  $this->ds->setDSPrefix("ds");
23  }
Poll Dataset class.

Field Documentation

◆ $ds

ilPollExporter::$ds
protected

Definition at line 16 of file class.ilPollExporter.php.


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