|
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 ilTestQuestionPoolImporter:
Collaboration diagram for ilTestQuestionPoolImporter:Public Member Functions | |
| importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping) | |
| Import XML. More... | |
| finalProcessing (ilImportMapping $a_mapping) | |
| Final processing. More... | |
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) | |
Protected Member Functions | |
| parseXmlFileNames () | |
| Create qti and xml file name. More... | |
| importQuestionSkillAssignments ($xmlFile, ilImportMapping $mappingRegistry, $targetParentObjId) | |
Private Member Functions | |
| getImportDirectoryContainer () | |
| getImportPackageName () | |
Private Attributes | |
| $poolOBJ | |
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 question pools
Definition at line 29 of file class.ilTestQuestionPoolImporter.php.
| ilTestQuestionPoolImporter::finalProcessing | ( | ilImportMapping | $a_mapping | ) |
Final processing.
| ilImportMapping | $a_mapping |
Reimplemented from ilXmlImporter.
Definition at line 155 of file class.ilTestQuestionPoolImporter.php.
References ilImportMapping\getMapping(), ilImportMapping\getMappingsOfEntity(), and ilObjTaxonomy\saveUsage().
Here is the call graph for this function:
|
private |
Definition at line 201 of file class.ilTestQuestionPoolImporter.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 208 of file class.ilTestQuestionPoolImporter.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 |
Definition at line 215 of file class.ilTestQuestionPoolImporter.php.
References ilXmlImporter\getInstallId().
Referenced by importXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestQuestionPoolImporter::importXmlRepresentation | ( | string | $a_entity, |
| string | $a_id, | ||
| string | $a_xml, | ||
| ilImportMapping | $a_mapping | ||
| ) |
Import XML.
return void
Reimplemented from ilXmlImporter.
Definition at line 41 of file class.ilTestQuestionPoolImporter.php.
References $DIC, ilObjQuestionPool\_setImportDirectory(), ilImportMapping\addMapping(), ilSession\clear(), ilSession\get(), ilXmlImporter\getImportDirectory(), getImportDirectoryContainer(), getImportPackageName(), ilObjectFactory\getInstanceByObjId(), ilImportMapping\getMapping(), ilQTIParser\IL_MO_PARSE_QTI, importQuestionSkillAssignments(), parseXmlFileNames(), and ilSession\set().
Here is the call graph for this function:
|
protected |
Create qti and xml file name.
Definition at line 188 of file class.ilTestQuestionPoolImporter.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:
|
private |
Definition at line 34 of file class.ilTestQuestionPoolImporter.php.