ILIAS
release_8 Revision v8.23
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__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) | |
Static Public Member Functions | |
static | lookupExportDirectory (string $a_obj_type, int $a_obj_id, string $a_export_type='xml', string $a_entity="") |
Protected Attributes | |
string | $dir_relative = "" |
string | $dir_absolute = "" |
ilExport | $exp |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Xml Exporter class
Definition at line 27 of file class.ilXmlExporter.php.
ilXmlExporter::__construct | ( | ) |
Definition at line 33 of file class.ilXmlExporter.php.
|
final |
Definition at line 125 of file class.ilXmlExporter.php.
References getValidSchemaVersions(), and ILIAS_VERSION_NUMERIC.
ilXmlExporter::getAbsoluteExportDirectory | ( | ) |
Definition at line 82 of file class.ilXmlExporter.php.
References $dir_absolute.
Referenced by ilStyleExporter\getXmlRepresentation(), ilContentPageExporter\getXmlRepresentation(), ilIndividualAssessmentExporter\getXmlRepresentation(), ilForumExporter\getXmlRepresentation(), ilMediaObjectsExporter\getXmlRepresentation(), ilDataCollectionExporter\getXmlRepresentation(), ilBibliographicExporter\getXmlRepresentation(), and ilFileExporter\getXmlRepresentation().
ilXmlExporter::getExport | ( | ) |
Definition at line 42 of file class.ilXmlExporter.php.
References $exp.
Referenced by ilLearningModuleExporter\getXmlRepresentation(), ilMediaPoolExporter\init(), ilLearningModuleExporter\init(), and ilSkillExporter\init().
ilXmlExporter::getRelativeExportDirectory | ( | ) |
Definition at line 77 of file class.ilXmlExporter.php.
References $dir_relative.
Referenced by ilForumExporter\getXmlRepresentation(), and ilFileExporter\getXmlRepresentation().
|
abstract |
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. Example: return array ( "4.1.0" => array( "namespace" => "http://www.ilias.de/Services/MetaData/md/4_1", "xsd_file" => "ilias_md_4_1.xsd", "min" => "4.1.0", "max" => "") );
Referenced by determineSchemaVersion(), and getXmlExportTailDependencies().
ilXmlExporter::getXmlExportHeadDependencies | ( | string | $a_entity, |
string | $a_target_release, | ||
array | $a_ids | ||
) |
Get head dependencies.
Definition at line 91 of file class.ilXmlExporter.php.
ilXmlExporter::getXmlExportTailDependencies | ( | string | $a_entity, |
string | $a_target_release, | ||
array | $a_ids | ||
) |
Get tail dependencies.
Definition at line 103 of file class.ilXmlExporter.php.
References getValidSchemaVersions().
|
abstract |
|
abstract |
|
static |
Definition at line 47 of file class.ilXmlExporter.php.
References ilFileUtils\getDataDir(), getXmlRepresentation(), and init().
ilXmlExporter::setExport | ( | ilExport | $a_exp | ) |
Definition at line 37 of file class.ilXmlExporter.php.
ilXmlExporter::setExportDirectories | ( | string | $a_dir_relative, |
string | $a_dir_absolute | ||
) |
Definition at line 71 of file class.ilXmlExporter.php.
|
protected |
Definition at line 30 of file class.ilXmlExporter.php.
Referenced by getAbsoluteExportDirectory().
|
protected |
Definition at line 29 of file class.ilXmlExporter.php.
Referenced by getRelativeExportDirectory().
|
protected |
Definition at line 31 of file class.ilXmlExporter.php.
Referenced by getExport(), and ilOrgUnitExporter\sendAndCreateSimpleExportFile().