ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Xml Exporter class. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
setExport (ilExport $a_exp) | |
Set export object. More... | |
getExport () | |
Get export. More... | |
getXmlRepresentation ($a_entity, $a_schema_version, $a_id) | |
Get xml representation. More... | |
init () | |
setExportDirectories ($a_dir_relative, $a_dir_absolute) | |
Export directories. More... | |
getRelativeExportDirectory () | |
Get relative export directory. More... | |
getAbsoluteExportDirectory () | |
Get absolute export directory. More... | |
getXmlExportHeadDependencies ($a_entity, $a_target_release, $a_ids) | |
Get head dependencies. More... | |
getXmlExportTailDependencies ($a_entity, $a_target_release, $a_ids) | |
Get tail dependencies. More... | |
getValidSchemaVersions ($a_entity) | |
Returns schema versions that the component can export to. More... | |
determineSchemaVersion ($a_entity, $a_target_release) | |
Determine schema version. More... | |
Static Public Member Functions | |
static | lookupExportDirectory ($a_obj_type, $a_obj_id, $a_export_type='xml', $a_entity="") |
export directory lookup More... | |
Protected Attributes | |
$dir_relative | |
$dir_absolute | |
$exp | |
ilXmlExporter::__construct | ( | ) |
|
final |
Determine schema version.
Definition at line 158 of file class.ilXmlExporter.php.
References getValidSchemaVersions(), and ILIAS_VERSION_NUMERIC.
ilXmlExporter::getAbsoluteExportDirectory | ( | ) |
Get absolute export directory.
Definition at line 103 of file class.ilXmlExporter.php.
References $dir_absolute.
Referenced by ilStyleExporter\getXmlRepresentation(), ilindividualAssessmentExporter\getXmlRepresentation(), ilContentPageExporter\getXmlRepresentation(), ilForumExporter\getXmlRepresentation(), ilDataCollectionExporter\getXmlRepresentation(), ilBibliographicExporter\getXmlRepresentation(), ilMediaObjectsExporter\getXmlRepresentation(), and ilFileExporter\getXmlRepresentation().
ilXmlExporter::getExport | ( | ) |
Get export.
Definition at line 42 of file class.ilXmlExporter.php.
References $exp.
Referenced by ilLearningModuleExporter\getXmlRepresentation(), ilSkillExporter\init(), ilMediaPoolExporter\init(), and ilLearningModuleExporter\init().
ilXmlExporter::getRelativeExportDirectory | ( | ) |
Get relative export directory.
Definition at line 93 of file class.ilXmlExporter.php.
References $dir_relative.
Referenced by ilStyleExporter\getXmlRepresentation(), 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 | ( | $a_entity, | |
$a_target_release, | |||
$a_ids | |||
) |
Get head dependencies.
string | entity |
string | target release |
array | ids |
Definition at line 116 of file class.ilXmlExporter.php.
ilXmlExporter::getXmlExportTailDependencies | ( | $a_entity, | |
$a_target_release, | |||
$a_ids | |||
) |
Get tail dependencies.
string | entity |
string | target release |
array | ids |
Definition at line 129 of file class.ilXmlExporter.php.
References getValidSchemaVersions().
|
abstract |
Get xml representation.
string | entity |
string | schema version |
string | id |
Referenced by lookupExportDirectory().
|
abstract |
|
static |
export directory lookup
Definition at line 51 of file class.ilXmlExporter.php.
References ilUtil\getDataDir(), getXmlRepresentation(), and init().
ilXmlExporter::setExport | ( | ilExport | $a_exp | ) |
Set export object.
ilExport | $a_exp | export object |
Definition at line 32 of file class.ilXmlExporter.php.
ilXmlExporter::setExportDirectories | ( | $a_dir_relative, | |
$a_dir_absolute | |||
) |
Export directories.
string | relative directory |
string | absolute directory |
Definition at line 82 of file class.ilXmlExporter.php.
|
protected |
Definition at line 14 of file class.ilXmlExporter.php.
Referenced by getAbsoluteExportDirectory().
|
protected |
Definition at line 13 of file class.ilXmlExporter.php.
Referenced by getRelativeExportDirectory().
|
protected |
Definition at line 15 of file class.ilXmlExporter.php.
Referenced by getExport(), and ilOrgUnitExporter\sendAndCreateSimpleExportFile().