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();
57 $GLOBALS[
'ilLog']->write(__METHOD__ .
': Created zip file ' . $zip);
70 if ($a_entity ==
'qpl') {
77 'component' =>
'Services/Taxonomy',
86 return parent::getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids);
95 include_once
'Services/Taxonomy/classes/class.ilObjTaxonomy.php';
99 foreach ($poolObjIds as $poolObjId) {
101 $taxIds[$taxId] = $taxId;
119 "namespace" =>
"http://www.ilias.de/Modules/TestQuestionPool/htlm/4_1",
120 "xsd_file" =>
"ilias_qpl_4_1.xsd",
121 "uses_dataset" =>
false,
static getUsageOfObject($a_obj_id, $a_include_titles=false)
Get usage of object.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
Export class for questionpools.
getDependingTaxonomyIds($poolObjIds)
Create styles array
The data for the language used.
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.