4 include_once(
"./Services/Export/classes/class.ilXmlExporter.php");
32 if ($a_export_type ==
'xml') {
35 return ilUtil::getDataDir() .
"/qpl_data" .
"/qpl_" . $a_obj_id .
"/export_" . $a_export_type;
49 include_once
'./Modules/TestQuestionPool/classes/class.ilObjQuestionPool.php';
53 include_once(
"./Modules/TestQuestionPool/classes/class.ilQuestionpoolExport.php");
55 $zip = $qpl_exp->buildExportFile();
58 $DIC[
'ilLog']->write(__METHOD__ .
': Created zip file ' . $zip);
71 if ($a_entity ==
'qpl') {
78 'component' =>
'Services/Taxonomy',
87 return parent::getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids);
96 include_once
'Services/Taxonomy/classes/class.ilObjTaxonomy.php';
100 foreach ($poolObjIds as $poolObjId) {
102 $taxIds[$taxId] = $taxId;
120 "namespace" =>
"http://www.ilias.de/Modules/TestQuestionPool/htlm/4_1",
121 "xsd_file" =>
"ilias_qpl_4_1.xsd",
122 "uses_dataset" =>
false,
static getUsageOfObject($a_obj_id, $a_include_titles=false)
Get usage of object.
Export class for questionpools.
getDependingTaxonomyIds($poolObjIds)
getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
Get tail dependencies.
static getDataDir()
get data directory (outside webspace)
static lookupExportDirectory($a_obj_type, $a_obj_id, $a_export_type='xml', $a_entity="")
Overwritten for qpl.
getValidSchemaVersions($a_entity)
Returns schema versions that the component can export to.
Used for container export with tests.
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Get xml representation.