|
ILIAS
release_4-4 Revision
|
Xml Exporter class. More...
Inheritance diagram for ilXmlExporter:
Collaboration diagram for ilXmlExporter:Public Member Functions | |
| __construct () | |
| Constructor. 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 | |
| ilXmlExporter::__construct | ( | ) |
|
final |
Determine schema version.
Definition at line 139 of file class.ilXmlExporter.php.
References getValidSchemaVersions(), and ILIAS_VERSION_NUMERIC.
Here is the call graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:| ilXmlExporter::getXmlExportHeadDependencies | ( | $a_entity, | |
| $a_target_release, | |||
| $a_ids | |||
| ) |
Get head dependencies.
| string | entity |
| string | target release |
| array | ids |
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 |
Definition at line 110 of file class.ilXmlExporter.php.
References getValidSchemaVersions().
Here is the call graph for this function:
|
abstract |
Get xml representation.
| string | entity |
| string | schema version |
| string | id |
Referenced by lookupExportDirectory().
Here is the caller graph for this function:
|
abstract |
|
static |
export directory lookup
Definition at line 31 of file class.ilXmlExporter.php.
References ilUtil\getDataDir(), getXmlRepresentation(), and init().
Here is the call graph for this function:| 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().