ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilSurveyQuestionPoolExporter 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 ilSurveyQuestionPoolExporter:
+ Collaboration diagram for ilSurveyQuestionPoolExporter:

Public Member Functions

 init ()
 
 getXmlRepresentation (string $a_entity, string $a_schema_version, string $a_id)
 
 getXmlExportTailDependencies (string $a_entity, string $a_target_release, array $a_ids)
 
 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)
 

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
string $dir_relative = ""
 
string $dir_absolute = ""
 
ilExport $exp
 

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 Used for container export with tests

Author
Helmut Schottmüller ilias.nosp@m.@aur.nosp@m.ealis.nosp@m..de

Definition at line 24 of file class.ilSurveyQuestionPoolExporter.php.

Member Function Documentation

◆ getValidSchemaVersions()

ilSurveyQuestionPoolExporter::getValidSchemaVersions ( string  $a_entity)

Definition at line 60 of file class.ilSurveyQuestionPoolExporter.php.

60  : array
61  {
62  return array(
63  "4.1.0" => array(
64  "namespace" => "https://www.ilias.de/Modules/SurveyQuestionPool/htlm/4_1",
65  "xsd_file" => "ilias_spl_4_1.xsd",
66  "uses_dataset" => false,
67  "min" => "4.1.0",
68  "max" => "")
69  );
70  }

◆ getXmlExportTailDependencies()

ilSurveyQuestionPoolExporter::getXmlExportTailDependencies ( string  $a_entity,
string  $a_target_release,
array  $a_ids 
)

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

47  : array {
48  $deps = [];
49 
50  // service settings
51  $deps[] = [
52  "component" => "Services/Object",
53  "entity" => "common",
54  "ids" => $a_ids
55  ];
56 
57  return $deps;
58  }

◆ getXmlRepresentation()

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

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

34  : string {
35  $spl = new ilObjSurveyQuestionPool($a_id, false);
36  $spl->loadFromDb();
37 
38  $spl_exp = new ilSurveyQuestionpoolExport($spl, 'xml');
39  $spl_exp->buildExportFile();
40  return "";
41  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ init()

ilSurveyQuestionPoolExporter::init ( )

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

26  : void
27  {
28  }

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