ILIAS
Release_4_4_x_branch Revision 61816
|
Xml Exporter class. More...
Public Member Functions | |
__construct () | |
Constructor. | |
getXmlRepresentation ($a_entity, $a_schema_version, $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. |
Static Public Member Functions | |
static | lookupExportDirectory ($a_obj_type, $a_obj_id, $a_export_type= 'xml', $a_entity="") |
export directory lookup |
Protected Attributes | |
$dir_relative | |
$dir_absolute |
ilXmlExporter::__construct | ( | ) |
Constructor.
@return |
Reimplemented in ilCourseExporter, ilFolderExporter, ilGroupExporter, ilWebResourceExporter, ilContainerExporter, and ilAccessControlExporter.
Definition at line 22 of file class.ilXmlExporter.php.
|
final |
Determine schema version.
@return |
Definition at line 139 of file class.ilXmlExporter.php.
References getValidSchemaVersions(), and ILIAS_VERSION_NUMERIC.
ilXmlExporter::getAbsoluteExportDirectory | ( | ) |
Get absolute export directory.
Definition at line 84 of file class.ilXmlExporter.php.
References $dir_absolute.
Referenced by ilForumExporter\getXmlRepresentation(), ilFileExporter\getXmlRepresentation(), and ilMediaObjectsExporter\getXmlRepresentation().
ilXmlExporter::getRelativeExportDirectory | ( | ) |
Get relative export directory.
Definition at line 74 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" => "") );
Reimplemented in ilCOPageExporter, ilGlossaryExporter, ilAdvancedMetaDataExporter, ilMediaPoolExporter, ilGroupExporter, ilFolderExporter, ilUserExporter, ilCourseExporter, ilHelpExporter, ilWikiExporter, ilAccessControlExporter, ilFileExporter, ilCategoryExporter, ilMediaCastExporter, ilContainerReferenceExporter, ilNewsExporter, ilHTMLLearningModuleExporter, ilTaxonomyExporter, ilMediaObjectsExporter, ilTestQuestionPoolExporter, ilWebResourceExporter, ilForumExporter, ilSurveyExporter, ilContainerExporter, ilSurveyQuestionPoolExporter, ilBlogExporter, ilPortfolioExporter, ilTestExporter, ilLearningModuleExporter, ilMetaDataExporter, ilExerciseExporter, ilExternalFeedExporter, ilSessionExporter, ilBookmarksExporter, ilCalendarExporter, ilNotesExporter, ilItemGroupExporter, ilRatingExporter, ilPollExporter, and ilDataCollectionExporter.
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, ilAccessControlExporter, ilCOPageExporter, ilNewsExporter, ilMediaPoolExporter, ilTaxonomyExporter, ilAdvancedMetaDataExporter, ilCategoryExporter, and ilContainerReferenceExporter.
Definition at line 97 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 ilCOPageExporter, ilMediaPoolExporter, ilTaxonomyExporter, ilAdvancedMetaDataExporter, ilUserExporter, ilHTMLLearningModuleExporter, ilMediaCastExporter, ilWikiExporter, ilHelpExporter, ilMediaObjectsExporter, ilGlossaryExporter, ilFileExporter, ilPortfolioExporter, and ilBlogExporter.
Definition at line 110 of file class.ilXmlExporter.php.
|
abstract |
Get xml representation.
string | entity |
string | schema version |
string | id |
Reimplemented in ilCOPageExporter, ilGlossaryExporter, ilMediaPoolExporter, ilUserExporter, ilGroupExporter, ilHelpExporter, ilFolderExporter, ilCourseExporter, ilWikiExporter, ilMediaCastExporter, ilNewsExporter, ilTaxonomyExporter, ilHTMLLearningModuleExporter, ilAdvancedMetaDataExporter, ilMediaObjectsExporter, ilContainerReferenceExporter, ilAccessControlExporter, ilCategoryExporter, ilFileExporter, ilTestQuestionPoolExporter, ilBlogExporter, ilPortfolioExporter, ilWebResourceExporter, ilContainerExporter, ilExternalFeedExporter, ilSessionExporter, ilExerciseExporter, ilItemGroupExporter, ilBookmarksExporter, ilCalendarExporter, ilNotesExporter, ilRatingExporter, ilForumExporter, ilSurveyExporter, ilSurveyQuestionPoolExporter, ilTestExporter, ilLearningModuleExporter, ilMetaDataExporter, ilPollExporter, and ilDataCollectionExporter.
|
abstract |
Reimplemented in ilCategoryExporter, ilContainerReferenceExporter, ilFolderExporter, ilGroupExporter, ilWebResourceExporter, ilContainerExporter, ilCourseExporter, ilAccessControlExporter, ilUserExporter, ilExerciseExporter, ilExternalFeedExporter, ilForumExporter, ilGlossaryExporter, ilHTMLLearningModuleExporter, ilItemGroupExporter, ilLearningModuleExporter, ilMediaCastExporter, ilMediaPoolExporter, ilSessionExporter, ilSurveyExporter, ilSurveyQuestionPoolExporter, ilTestExporter, ilTestQuestionPoolExporter, ilWikiExporter, ilAdvancedMetaDataExporter, ilBookmarksExporter, ilCalendarExporter, ilCOPageExporter, ilHelpExporter, ilMediaObjectsExporter, ilMetaDataExporter, ilNewsExporter, ilNotesExporter, ilRatingExporter, ilTaxonomyExporter, ilFileExporter, ilPortfolioExporter, ilBlogExporter, ilPollExporter, and ilDataCollectionExporter.
|
static |
export directory lookup
Reimplemented in ilTestQuestionPoolExporter.
Definition at line 31 of file class.ilXmlExporter.php.
References ilUtil\getDataDir().
ilXmlExporter::setExportDirectories | ( | $a_dir_relative, | |
$a_dir_absolute | |||
) |
Export directories.
string | relative directory |
string | absolute directory |
Definition at line 63 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().