ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilTaxonomyExporter.php
Go to the documentation of this file.
1 <?php
2 
24 {
26 
30  public function init(): void
31  {
32  $this->ds = new ilTaxonomyDataSet();
33  $this->ds->initByExporter($this);
34  $this->ds->setDSPrefix("ds");
35  }
36 
44  public function getXmlExportHeadDependencies(string $a_entity, string $a_target_release, array $a_ids): array
45  {
46  return array();
47  }
48 
56  public function getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids): array
57  {
58  return array();
59  }
60 
68  public function getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id): string
69  {
70  return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id], "", true, true);
71  }
72 
80  public function getValidSchemaVersions(string $a_entity): array
81  {
82  return array(
83  "4.3.0" => array(
84  "namespace" => "http://www.ilias.de/Services/Taxonomy/tax/4_3",
85  "xsd_file" => "ilias_tax_4_3.xsd",
86  "uses_dataset" => true,
87  "min" => "4.3.0",
88  "max" => ""
89  )
90  );
91  }
92 }
getValidSchemaVersions(string $a_entity)
Returns schema versions that the component can export to.
getXmlExportHeadDependencies(string $a_entity, string $a_target_release, array $a_ids)
Get head dependencies.
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)
Get tail dependencies.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
Get xml representation.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...