30 public function init(): void
45 foreach ($a_ids as $file_id) {
46 $md_ids[] = $file_id .
":0:file";
51 "component" =>
"Services/MetaData",
56 "component" =>
"Services/Object",
77 $writer->setFile($file);
78 $writer->setOmitHeader(
true);
81 $writer->setFileTargetDirectories(
86 $xml = $writer->getXml();
102 "namespace" =>
"http://www.ilias.de/Modules/File/file/4_1",
103 "xsd_file" =>
"ilias_file_4_1.xsd",
getRelativeExportDirectory()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
Get xml representation.
static makeDirParents(string $a_dir)
Create a new directory and all parent directories.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getAbsoluteExportDirectory()
static int $CONTENT_ATTACH_COPY
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getValidSchemaVersions(string $a_entity)
Returns schema versions that the component can export to.
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)
Get tail dependencies.
static _lookupType(int $id, bool $reference=false)