33 public function init(): void
43 public static function lookupExportDirectory(
string $a_obj_type,
int $a_obj_id,
string $a_export_type =
'xml',
string $a_entity =
""): string
45 if ($a_export_type ==
'xml') {
65 $qpl_exp->buildExportFile();
68 $DIC[
'ilLog']->write(__METHOD__ .
': Created zip file');
81 if ($a_entity ==
'qpl') {
88 'component' =>
'components/ILIAS/Taxonomy',
95 foreach ($a_ids as
$id) {
96 $md_ids[] = $id .
':0:qpl';
100 'component' =>
'components/ILIAS/MetaData',
109 return parent::getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids);
120 foreach ($poolObjIds as $poolObjId) {
122 $taxIds[$taxId] = $taxId;
139 "namespace" =>
"http://www.ilias.de/Modules/TestQuestionPool/htlm/4_1",
140 "xsd_file" =>
"ilias_qpl_4_1.xsd",
141 "uses_dataset" =>
false,
getValidSchemaVersions(string $a_entity)
Returns schema versions that the component can export to.
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
Get xml representation.
static getUsageOfObject(int $a_obj_id, bool $a_include_titles=false)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getDependingTaxonomyIds($poolObjIds)
static getDataDir()
get data directory (outside webspace)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static lookupExportDirectory(string $a_obj_type, int $a_obj_id, string $a_export_type='xml', string $a_entity="")
Overwritten for qpl.
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)
Get tail dependencies.