|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for exQuestionPoolExporter:
Collaboration diagram for exQuestionPoolExporter:Public Member Functions | |
| getValidSchemaVersions (string $a_entity) | |
| Returns schema versions that the component can export to. More... | |
| init () | |
| getXmlRepresentation (string $a_entity, string $a_schema_version, string $a_id) | |
| getXmlExportTailDependencies (string $a_entity, string $a_target_release, array $a_ids) | |
Public Member Functions inherited from ilXmlExporter | |
| __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) | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilXmlExporter | |
| static | lookupExportDirectory (string $a_obj_type, int $a_obj_id, string $a_export_type='xml', string $a_entity="") |
Protected Attributes inherited from ilXmlExporter | |
| string | $dir_relative = "" |
| string | $dir_absolute = "" |
| ilExport | $exp |
Definition at line 5 of file class.exQuestionPoolExporter.php.
| exQuestionPoolExporter::getValidSchemaVersions | ( | string | $a_entity | ) |
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 from ilXmlExporter.
Definition at line 7 of file class.exQuestionPoolExporter.php.
| exQuestionPoolExporter::getXmlExportTailDependencies | ( | string | $a_entity, |
| string | $a_target_release, | ||
| array | $a_ids | ||
| ) |
| string | $a_entity | |
| string | $a_target_release | |
| array | $a_ids |
when components use the assessment question service, they can declare questions as a tail depency for their own export. the export service will address the assessment question service to get all required question exported.
simply determine the questionIds for the given entityIds and return them in the shown depeny array structure.
Reimplemented from ilXmlExporter.
Definition at line 41 of file class.exQuestionPoolExporter.php.
| exQuestionPoolExporter::getXmlRepresentation | ( | string | $a_entity, |
| string | $a_schema_version, | ||
| string | $a_id | ||
| ) |
| string | $a_entity | |
| string | $a_schema_version | |
| string | $a_id |
although e.g. the question pool does declare assessment questions as a tail depency, it still is able to also provide the former qtixml, that contains all questions as a single qti file.
Reimplemented from ilXmlExporter.
Definition at line 23 of file class.exQuestionPoolExporter.php.
| exQuestionPoolExporter::init | ( | ) |
Reimplemented from ilXmlExporter.
Definition at line 13 of file class.exQuestionPoolExporter.php.