ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Exporter class for files. More...
Public Member Functions | |
init () | |
Initialisation. More... | |
getXmlExportTailDependencies (string $a_entity, string $a_target_release, array $a_ids) | |
Get tail dependencies. More... | |
getXmlRepresentation (string $a_entity, string $a_schema_version, string $a_id) | |
Get xml representation. More... | |
getValidSchemaVersions (string $a_entity) | |
Returns schema versions that the component can export to. More... | |
![]() | |
__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) | |
Protected Member Functions | |
prepareExportDirectories (ilFileXMLWriter $writer) | |
Additional Inherited Members | |
![]() | |
static | lookupExportDirectory (string $a_obj_type, int $a_obj_id, string $a_export_type='xml', string $a_entity="") |
![]() | |
ilExport | $exp |
ilFileExporter::getValidSchemaVersions | ( | string | $a_entity | ) |
Returns schema versions that the component can export to.
ILIAS chooses the first one, that has min/max constraints which fit to the target release. Please put the newest on top.
Definition at line 109 of file class.ilFileExporter.php.
ilFileExporter::getXmlExportTailDependencies | ( | string | $a_entity, |
string | $a_target_release, | ||
array | $a_ids | ||
) |
Get tail dependencies.
string | entity |
string | target release |
array | ids |
Definition at line 45 of file class.ilFileExporter.php.
ilFileExporter::getXmlRepresentation | ( | string | $a_entity, |
string | $a_schema_version, | ||
string | $a_id | ||
) |
Get xml representation.
string | entity |
string | target release |
string | id |
Definition at line 73 of file class.ilFileExporter.php.
References ilFileXMLWriter\$CONTENT_ATTACH_COPY, ilObject\_lookupType(), and prepareExportDirectories().
ilFileExporter::init | ( | ) |
|
protected |
Definition at line 89 of file class.ilFileExporter.php.
References $path, ilXmlExporter\getAbsoluteExportDirectory(), ilFileUtils\makeDirParents(), and ilFileXMLWriter\setFileTargetDirectories().
Referenced by getXmlRepresentation().