ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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... | |
![]() | |
__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 | |
![]() | |
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 |
Definition at line 155 of file class.ilTestQuestionPoolImporter.php.
References ilImportMapping\getMapping(), ilImportMapping\getMappingsOfEntity(), and ilObjTaxonomy\saveUsage().
|
private |
Definition at line 201 of file class.ilTestQuestionPoolImporter.php.
References ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
|
private |
Definition at line 208 of file class.ilTestQuestionPoolImporter.php.
References $name, and ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
|
protected |
Definition at line 215 of file class.ilTestQuestionPoolImporter.php.
References ilXmlImporter\getInstallId().
Referenced by importXmlRepresentation().
ilTestQuestionPoolImporter::importXmlRepresentation | ( | string | $a_entity, |
string | $a_id, | ||
string | $a_xml, | ||
ilImportMapping | $a_mapping | ||
) |
Import XML.
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(), ilSession\set(), and ilQTIParser\startParsing().
|
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().
|
private |
Definition at line 34 of file class.ilTestQuestionPoolImporter.php.