ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Public Member Functions | |
getValidSchemaVersions ($a_entity) | |
Returns schema versions that the component can export to. More... | |
init () | |
getXmlRepresentation ($a_entity, $a_schema_version, $a_id) | |
getXmlExportTailDependencies ($a_entity, $a_target_release, $a_ids) | |
![]() | |
__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... | |
Additional Inherited Members | |
![]() | |
static | lookupExportDirectory ($a_obj_type, $a_obj_id, $a_export_type='xml', $a_entity="") |
export directory lookup More... | |
![]() | |
$dir_relative | |
$dir_absolute | |
$exp | |
Definition at line 5 of file class.exQuestionPoolExporter.php.
exQuestionPoolExporter::getValidSchemaVersions | ( | $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 | ( | $a_entity, | |
$a_target_release, | |||
$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 39 of file class.exQuestionPoolExporter.php.
exQuestionPoolExporter::getXmlRepresentation | ( | $a_entity, | |
$a_schema_version, | |||
$a_id | |||
) |
string | $a_entity | |
array | $a_schema_version | |
int | $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 22 of file class.exQuestionPoolExporter.php.
exQuestionPoolExporter::init | ( | ) |
Reimplemented from ilXmlExporter.
Definition at line 12 of file class.exQuestionPoolExporter.php.