|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilTestImporter:
Collaboration diagram for ilTestImporter:Public Member Functions | |
| importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping) | |
| Import XML. More... | |
| addTexonomyAndQuestionsMapping (array $question_id_mapping, int $new_obj_id, ilImportMapping $mapping) | |
| finalProcessing (ilImportMapping $a_mapping) | |
| Final processing. More... | |
| importRandomQuestionSetConfig (ilObjTest $testOBJ, $xmlFile, $a_mapping) | |
Public Member Functions inherited from ilXmlImporter | |
| __construct () | |
| setImport (ilImport $a_val) | |
| getImport () | |
| init () | |
| setInstallId (string $a_val) | |
| getInstallId () | |
| setInstallUrl (string $a_val) | |
| getInstallUrl () | |
| setSchemaVersion (string $a_val) | |
| getSchemaVersion () | |
| setImportDirectory (string $a_val) | |
| getImportDirectory () | |
| setSkipEntities (array $a_val) | |
| getSkipEntities () | |
| exportedFromSameInstallation () | |
| importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping) | |
| finalProcessing (ilImportMapping $a_mapping) | |
| afterContainerImportProcessing (ilImportMapping $mapping) | |
Static Public Attributes | |
| static | $finallyProcessedTestsRegistry = array() |
Protected Member Functions | |
| finalRandomTestTaxonomyProcessing (ilImportMapping $mapping, $oldTstObjId, $newTstObjId, ilObjTest $testOBJ) | |
| getNewMappedTaxonomyFilter (ilImportMapping $mapping, array $mappedFilter) | |
| parseXmlFileNames () | |
| Create qti and xml file name. More... | |
| importQuestionSkillAssignments (ilImportMapping $mapping, ilObjTest $testOBJ, $xmlFile) | |
| importSkillLevelThresholds (ilImportMapping $mapping, ilAssQuestionSkillAssignmentList $assignmentList, ilObjTest $testOBJ, $xmlFile) | |
Private Member Functions | |
| getImportDirectoryContainer () | |
| getImportPackageName () | |
Additional Inherited Members | |
Protected Attributes inherited from ilXmlImporter | |
| array | $skip_entities = array() |
| ilImport | $imp |
| string | $install_id |
| string | $install_url |
| string | $schema_version |
| string | $import_directory |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Importer class for files
Definition at line 26 of file class.ilTestImporter.php.
| ilTestImporter::addTexonomyAndQuestionsMapping | ( | array | $question_id_mapping, |
| int | $new_obj_id, | ||
| ilImportMapping | $mapping | ||
| ) |
Definition at line 120 of file class.ilTestImporter.php.
References ilImportMapping\addMapping().
Referenced by importXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestImporter::finalProcessing | ( | ilImportMapping | $a_mapping | ) |
Final processing.
| ilImportMapping | $a_mapping |
Reimplemented from ilXmlImporter.
Definition at line 153 of file class.ilTestImporter.php.
References finalRandomTestTaxonomyProcessing(), ilObjectFactory\getInstanceByObjId(), and ilImportMapping\getMappingsOfEntity().
Here is the call graph for this function:
|
protected |
Definition at line 176 of file class.ilTestImporter.php.
References $DIC, $ilDB, ilImportMapping\getMapping(), getNewMappedTaxonomyFilter(), and ilObjTaxonomy\saveUsage().
Referenced by finalProcessing().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 282 of file class.ilTestImporter.php.
References ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 289 of file class.ilTestImporter.php.
References $name, and ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilImportMapping | $mapping | |
| array | $mappedFilter |
Definition at line 230 of file class.ilTestImporter.php.
References ilImportMapping\getMapping().
Referenced by finalRandomTestTaxonomyProcessing().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilImportMapping | $mappingRegistry | |
| ilObjTest | $testOBJ | |
| string | $xmlfile |
Definition at line 311 of file class.ilTestImporter.php.
References ilObject\getId(), ilXmlImporter\getInstallId(), and ilObjTest\setOnline().
Referenced by importXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestImporter::importRandomQuestionSetConfig | ( | ilObjTest | $testOBJ, |
| $xmlFile, | |||
| $a_mapping | |||
| ) |
Definition at line 296 of file class.ilTestImporter.php.
Referenced by importXmlRepresentation().
Here is the caller graph for this function:
|
protected |
| ilImportMapping | $mapping | |
| ilAssQuestionSkillAssignmentList | $assignmentList | |
| ilObjTest | $testOBJ | |
| $xmlFile |
Definition at line 341 of file class.ilTestImporter.php.
References ilObject\getId(), ilXmlImporter\getInstallId(), ilObjTest\getTestId(), and ilObject\setOfflineStatus().
Referenced by importXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestImporter::importXmlRepresentation | ( | string | $a_entity, |
| string | $a_id, | ||
| string | $a_xml, | ||
| ilImportMapping | $a_mapping | ||
| ) |
Import XML.
| string | $a_entity | |
| string | $a_id | |
| string | $a_xml | |
| ilImportMapping | $a_mapping |
Reimplemented from ilXmlImporter.
Definition at line 44 of file class.ilTestImporter.php.
References $DIC, $results, ilObjTest\_setImportDirectory(), ilImportMapping\addMapping(), addTexonomyAndQuestionsMapping(), ilSession\get(), ilXmlImporter\getImportDirectory(), getImportDirectoryContainer(), getImportPackageName(), ilObjectFactory\getInstanceByObjId(), ilImportMapping\getMapping(), ilImportMapping\getMappingsOfEntity(), ilQTIParser\IL_MO_PARSE_QTI, importQuestionSkillAssignments(), importRandomQuestionSetConfig(), importSkillLevelThresholds(), parseXmlFileNames(), and ilSession\set().
Here is the call graph for this function:
|
protected |
Create qti and xml file name.
Definition at line 269 of file class.ilTestImporter.php.
References $DIC, $xml, and ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 31 of file class.ilTestImporter.php.