ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Importer class for files. More...
Public Member Functions | |
importXmlRepresentation ($a_entity, $a_id, $a_xml, $a_mapping) | |
Import XML. More... | |
finalProcessing ($a_mapping) | |
Final processing. More... | |
Public Member Functions inherited from ilXmlImporter | |
__construct () | |
Constructor. More... | |
setImport ($a_val) | |
Set import. More... | |
getImport () | |
Get import. More... | |
init () | |
Init. More... | |
setInstallId ($a_val) | |
Set installation id. More... | |
getInstallId () | |
Get installation id. More... | |
setInstallUrl ($a_val) | |
Set installation url. More... | |
getInstallUrl () | |
Get installation url. More... | |
setSchemaVersion ($a_val) | |
Set schema version. More... | |
getSchemaVersion () | |
Get schema version. More... | |
setImportDirectory ($a_val) | |
Set import directory. More... | |
getImportDirectory () | |
Get import directory. More... | |
setSkipEntities ($a_val) | |
Set skip entities. More... | |
getSkipEntities () | |
Get skip entities. More... | |
exportedFromSameInstallation () | |
Is exporting and importing installation identical? More... | |
importXmlRepresentation ($a_entity, $a_id, $a_xml, $a_mapping) | |
Import xml representation. More... | |
finalProcessing ($a_mapping) | |
Final processing. More... | |
afterContainerImportProcessing (ilImportMapping $mapping) | |
Called after all container objects have been implemented. More... | |
Static Public Attributes | |
static | $finallyProcessedTestsRegistry = array() |
Protected Member Functions | |
finalRandomTestTaxonomyProcessing (ilImportMapping $mapping, $oldTstObjId, $newTstObjId, ilObjTest $testOBJ) | |
parseXmlFileNames () | |
Create qti and xml file name. More... | |
importRandomQuestionSetConfig (ilObjTest $testOBJ, $xmlFile, $a_mapping) | |
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 | |
$skip_entities = array() | |
$imp | |
ilTestImporter::finalProcessing | ( | $a_mapping | ) |
Final processing.
ilImportMapping | $a_mapping |
Definition at line 151 of file class.ilTestImporter.php.
References $new, $old, finalRandomTestTaxonomyProcessing(), and ilObjectFactory\getInstanceByObjId().
|
protected |
Definition at line 178 of file class.ilTestImporter.php.
References $GLOBALS, $ilDB, ilImportMapping\getMapping(), and ilObjTaxonomy\saveUsage().
Referenced by finalProcessing().
|
private |
Definition at line 253 of file class.ilTestImporter.php.
References ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
|
private |
Definition at line 260 of file class.ilTestImporter.php.
References ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
|
protected |
ilImportMapping | $mappingRegistry | |
ilObjTest | $testOBJ | |
string | $xmlfile |
Definition at line 282 of file class.ilTestImporter.php.
References $parser, ilObject\getId(), ilXmlImporter\getInstallId(), ilAssQuestionSkillAssignmentImportFails\registerFailedImports(), and ilObjTest\setOnline().
Referenced by importXmlRepresentation().
|
protected |
Definition at line 267 of file class.ilTestImporter.php.
References $parser.
Referenced by importXmlRepresentation().
|
protected |
ilImportMapping | $mapping | |
ilAssQuestionSkillAssignmentList | $assignmentList | |
ilObjTest | $testOBJ | |
$xmlFile |
Definition at line 316 of file class.ilTestImporter.php.
References $parser, ilObject\getId(), ilXmlImporter\getInstallId(), ilObjTest\getTestId(), ilTestSkillLevelThresholdImportFails\registerFailedImports(), and ilObjTest\setOnline().
Referenced by importXmlRepresentation().
ilTestImporter::importXmlRepresentation | ( | $a_entity, | |
$a_id, | |||
$a_xml, | |||
$a_mapping | |||
) |
Import XML.
Definition at line 26 of file class.ilTestImporter.php.
References $_SESSION, $GLOBALS, $result, $results, ilObjTest\_setImportDirectory(), array, ilXmlImporter\getImportDirectory(), getImportDirectoryContainer(), getImportPackageName(), ilObjectFactory\getInstanceByObjId(), IL_MO_PARSE_QTI, importQuestionSkillAssignments(), importRandomQuestionSetConfig(), importSkillLevelThresholds(), and parseXmlFileNames().
|
protected |
Create qti and xml file name.
Definition at line 241 of file class.ilTestImporter.php.
References $GLOBALS, array, and ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
|
static |
Definition at line 18 of file class.ilTestImporter.php.