ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Xml Exporter class. 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 | |
ilExport | $exp |
ilXmlExporter::__construct | ( | ) |
Definition at line 31 of file class.ilXmlExporter.php.
|
final |
Definition at line 122 of file class.ilXmlExporter.php.
References getValidSchemaVersions(), and ILIAS_VERSION_NUMERIC.
ilXmlExporter::getAbsoluteExportDirectory | ( | ) |
Definition at line 79 of file class.ilXmlExporter.php.
Referenced by ilStyleExporter\getXmlRepresentation(), ilContentPageExporter\getXmlRepresentation(), ilForumExporter\getXmlRepresentation(), ilIndividualAssessmentExporter\getXmlRepresentation(), ilMediaObjectsExporter\getXmlRepresentation(), ilBibliographicExporter\getXmlRepresentation(), ilDataCollectionExporter\getXmlRepresentation(), ilTestExporter\getXmlRepresentation(), and ilFileExporter\prepareExportDirectories().
ilXmlExporter::getExport | ( | ) |
Definition at line 40 of file class.ilXmlExporter.php.
References $exp.
Referenced by ilLearningModuleExporter\getXmlRepresentation(), ilMediaPoolExporter\init(), ilLearningModuleExporter\init(), ilSkillExporter\init(), and ilDataSet\initByExporter().
ilXmlExporter::getRelativeExportDirectory | ( | ) |
Definition at line 74 of file class.ilXmlExporter.php.
|
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 88 of file class.ilXmlExporter.php.
ilXmlExporter::getXmlExportTailDependencies | ( | string | $a_entity, |
string | $a_target_release, | ||
array | $a_ids | ||
) |
Get tail dependencies.
Definition at line 100 of file class.ilXmlExporter.php.
References getValidSchemaVersions().
|
abstract |
|
abstract |
|
static |
Definition at line 45 of file class.ilXmlExporter.php.
References ilFileUtils\getDataDir(), getXmlRepresentation(), and init().
ilXmlExporter::setExport | ( | ilExport | $a_exp | ) |
Definition at line 35 of file class.ilXmlExporter.php.
ilXmlExporter::setExportDirectories | ( | string | $a_dir_relative, |
string | $a_dir_absolute | ||
) |
Definition at line 69 of file class.ilXmlExporter.php.
|
protected |
Definition at line 29 of file class.ilXmlExporter.php.
Referenced by getExport(), and ilOrgUnitExporter\sendAndCreateSimpleExportFile().