ILIAS
eassessment Revision 61809
|
Xml Exporter class. More...
Public Member Functions | |
__construct () | |
Constructor. | |
getXmlRepresentation ($a_entity, $a_target_release, $a_id) | |
Get xml representation. | |
init () | |
setExportDirectories ($a_dir_relative, $a_dir_absolute) | |
Export directories. | |
getRelativeExportDirectory () | |
Get relative export directory. | |
getAbsoluteExportDirectory () | |
Get absolute export directory. | |
getXmlExportHeadDependencies ($a_entity, $a_target_release, $a_ids) | |
Get head dependencies. | |
getXmlExportTailDependencies ($a_entity, $a_target_release, $a_ids) | |
Get tail dependencies. | |
getValidSchemaVersions ($a_entity) | |
Returns schema versions that the component can export to. | |
determineSchemaVersion ($a_entity, $a_target_release) | |
Determine schema version. |
Protected Attributes | |
$dir_relative | |
$dir_absolute |
ilXmlExporter::__construct | ( | ) |
Constructor.
@return |
Reimplemented in ilCourseExporter, ilFolderExporter, ilGroupExporter, ilWebResourceExporter, and ilContainerExporter.
Definition at line 22 of file class.ilXmlExporter.php.
|
final |
Determine schema version.
@return |
Definition at line 122 of file class.ilXmlExporter.php.
References getValidSchemaVersions(), and ILIAS_VERSION_NUMERIC.
ilXmlExporter::getAbsoluteExportDirectory | ( | ) |
Get absolute export directory.
Definition at line 67 of file class.ilXmlExporter.php.
References $dir_absolute.
Referenced by ilFileExporter\getXmlRepresentation(), and ilMediaObjectsExporter\getXmlRepresentation().
ilXmlExporter::getRelativeExportDirectory | ( | ) |
Get relative export directory.
Definition at line 57 of file class.ilXmlExporter.php.
References $dir_relative.
Referenced by 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" => "") );
Reimplemented in ilMediaPoolExporter, ilCOPageExporter, ilGroupExporter, ilFolderExporter, ilCourseExporter, ilFileExporter, ilMediaCastExporter, ilNewsExporter, ilHTMLLearningModuleExporter, ilMediaObjectsExporter, ilWebResourceExporter, ilSurveyExporter, ilContainerExporter, ilTestExporter, ilLearningModuleExporter, ilGlossaryExporter, ilMetaDataExporter, ilExerciseExporter, ilExternalFeedExporter, and ilSessionExporter.
Referenced by determineSchemaVersion().
ilXmlExporter::getXmlExportHeadDependencies | ( | $a_entity, | |
$a_target_release, | |||
$a_ids | |||
) |
Get head dependencies.
string | entity |
string | target release |
array | ids |
Reimplemented in ilCourseExporter, ilFolderExporter, ilGroupExporter, ilNewsExporter, ilMediaPoolExporter, and ilCOPageExporter.
Definition at line 80 of file class.ilXmlExporter.php.
ilXmlExporter::getXmlExportTailDependencies | ( | $a_entity, | |
$a_target_release, | |||
$a_ids | |||
) |
Get tail dependencies.
string | entity |
string | target release |
array | ids |
Reimplemented in ilMediaPoolExporter, ilHTMLLearningModuleExporter, ilMediaCastExporter, ilMediaObjectsExporter, and ilFileExporter.
Definition at line 93 of file class.ilXmlExporter.php.
|
abstract |
Get xml representation.
string | entity |
string | target release |
string | id |
Reimplemented in ilMediaPoolExporter, ilCOPageExporter, ilGroupExporter, ilFolderExporter, ilCourseExporter, ilMediaCastExporter, ilNewsExporter, ilHTMLLearningModuleExporter, ilMediaObjectsExporter, ilFileExporter, ilWebResourceExporter, ilContainerExporter, ilExternalFeedExporter, ilSessionExporter, ilExerciseExporter, ilGlossaryExporter, ilLearningModuleExporter, ilSurveyExporter, ilTestExporter, and ilMetaDataExporter.
|
abstract |
Reimplemented in ilFolderExporter, ilGroupExporter, ilWebResourceExporter, ilContainerExporter, ilCourseExporter, ilExerciseExporter, ilExternalFeedExporter, ilGlossaryExporter, ilHTMLLearningModuleExporter, ilLearningModuleExporter, ilMediaCastExporter, ilMediaPoolExporter, ilSessionExporter, ilSurveyExporter, ilTestExporter, ilCOPageExporter, ilMediaObjectsExporter, ilMetaDataExporter, ilNewsExporter, and ilFileExporter.
ilXmlExporter::setExportDirectories | ( | $a_dir_relative, | |
$a_dir_absolute | |||
) |
Export directories.
string | relative directory |
string | absolute directory |
Definition at line 46 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().