ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilCalendarExporter Class Reference

Exporter class for calendar data (xml) More...

+ Inheritance diagram for ilCalendarExporter:
+ Collaboration diagram for ilCalendarExporter:

Public Member Functions

 init ()
 
 getXmlRepresentation (string $a_entity, string $a_schema_version, string $a_id)
 
 getValidSchemaVersions (string $a_entity)
 
- Public Member Functions inherited from ilXmlExporter
 __construct ()
 
 setExport (ilExport $a_exp)
 
 getExport ()
 
 getXmlRepresentation (string $a_entity, string $a_schema_version, string $a_id)
 
 init ()
 
 setExportDirectories (string $a_dir_relative, string $a_dir_absolute)
 
 getRelativeExportDirectory ()
 
 getAbsoluteExportDirectory ()
 
 getXmlExportHeadDependencies (string $a_entity, string $a_target_release, array $a_ids)
 Get head dependencies. More...
 
 getXmlExportTailDependencies (string $a_entity, string $a_target_release, array $a_ids)
 Get tail dependencies. More...
 
 getValidSchemaVersions (string $a_entity)
 Returns schema versions that the component can export to. More...
 
 determineSchemaVersion (string $a_entity, string $a_target_release)
 

Private Attributes

ilCalendarDataSet $ds
 

Additional Inherited Members

- Static Public Member Functions inherited from ilXmlExporter
static lookupExportDirectory (string $a_obj_type, int $a_obj_id, string $a_export_type='xml', string $a_entity="")
 
- Protected Attributes inherited from ilXmlExporter
ilExport $exp
 

Detailed Description

Exporter class for calendar data (xml)

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

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

Member Function Documentation

◆ getValidSchemaVersions()

ilCalendarExporter::getValidSchemaVersions ( string  $a_entity)

Definition at line 52 of file class.ilCalendarExporter.php.

52  : array
53  {
54  return array(
55  "4.3.0" => array(
56  "namespace" => "http://www.ilias.de/Services/Calendar/cal/4_3",
57  "xsd_file" => "ilias_cal_4_3.xsd",
58  "uses_dataset" => true,
59  "min" => "4.3.0",
60  "max" => ""
61  )
62  );
63  }

◆ getXmlRepresentation()

ilCalendarExporter::getXmlRepresentation ( string  $a_entity,
string  $a_schema_version,
string  $a_id 
)

Definition at line 43 of file class.ilCalendarExporter.php.

43  : string
44  {
45  $this->ds->initByExporter($this);
46  return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id], "", true, true);
47  }

◆ init()

ilCalendarExporter::init ( )

Definition at line 33 of file class.ilCalendarExporter.php.

33  : void
34  {
35  $this->ds = new ilCalendarDataSet();
36  $this->ds->initByExporter($this);
37  $this->ds->setDSPrefix("ds");
38  }
Calendar data set class.

Field Documentation

◆ $ds

ilCalendarDataSet ilCalendarExporter::$ds
private

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


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