|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for assMatchingQuestionImport:
Collaboration diagram for assMatchingQuestionImport:Public Member Functions | |
| saveImage ($data, $filename) | |
| fromXML (string $importdirectory, int $user_id, ilQTIItem $item, int $questionpool_id, ?int $tst_id, ?ilObject &$tst_object, int &$question_counter, array $import_mapping) | |
Public Member Functions inherited from assQuestionImport | |
| getQuestionId () | |
| getFeedbackGeneric ($item) | |
| fromXML (string $importdirectory, int $user_id, ilQTIItem $item, int $questionpool_id, ?int $tst_id, ?ilObject &$tst_object, int &$question_counter, array $import_mapping) | |
| importSuggestedSolutions (int $question_id, array $solution_from_import) | |
| QTIMaterialToString (ilQTIMaterial $a_material) | |
| Reads an QTI material tag and creates a text or XHTML string. More... | |
Protected Member Functions | |
| fetchIndexFromFeedbackIdent ($feedbackIdent, $prefix='response_') | |
Protected Member Functions inherited from assQuestionImport | |
| fetchIndexFromFeedbackIdent ($feedbackIdent, $prefix='response_') | |
| getFeedbackAnswerSpecific (ilQTIItem $item, $prefix='response_') | |
| addGeneralMetadata (ilQTIItem $item) | |
| fetchLifecycle (ilQTIItem $item) | |
| processNonAbstractedImageReferences ($text, $sourceNic) | |
| fetchAdditionalContentEditingModeInformation ($qtiItem) | |
| fetches the "additional content editing mode" information from qti item and falls back to ADDITIONAL_CONTENT_EDITING_MODE_RTE when no or invalid information is given More... | |
| findSolutionTypeByValue (string $value) | |
| getSuggestedSolutionsRepo () | |
| deduceThumbSizeFromImportValue (?int $size) | |
| addQuestionToParentObjectAndBuildMappingEntry (int $questionpool_id, ?int $tst_id, int &$question_counter, ?ilObjTest &$tst_object) | |
Additional Inherited Members | |
Data Fields inherited from assQuestionImport | |
| $object | |
Protected Attributes inherited from assQuestionImport | |
| SuggestedSolutionsDatabaseRepository | $suggestedsolution_repo = null |
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 Class for matching question imports
assMatchingQuestionImport is a class for matching question imports
Definition at line 28 of file class.assMatchingQuestionImport.php.
|
protected |
| $feedbackIdent | ||
| string | $prefix |
Definition at line 314 of file class.assMatchingQuestionImport.php.
References ILIAS\Repository\object().
Referenced by fromXML().
Here is the call graph for this function:
Here is the caller graph for this function:| assMatchingQuestionImport::fromXML | ( | string | $importdirectory, |
| int | $user_id, | ||
| ilQTIItem | $item, | ||
| int | $questionpool_id, | ||
| ?int | $tst_id, | ||
| ?ilObject & | $tst_object, | ||
| int & | $question_counter, | ||
| array | $import_mapping | ||
| ) |
Definition at line 46 of file class.assMatchingQuestionImport.php.
References $DIC, $response, ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilObjMediaObject\_saveUsage(), assQuestionImport\addGeneralMetadata(), assQuestionImport\addQuestionToParentObjectAndBuildMappingEntry(), ilSession\clear(), assQuestionImport\deduceThumbSizeFromImportValue(), assQuestionImport\fetchAdditionalContentEditingModeInformation(), fetchIndexFromFeedbackIdent(), ilSession\get(), ilQTIItem\getAuthor(), ilQTIItem\getComment(), assQuestionImport\getFeedbackAnswerSpecific(), ilQTIItem\getIdent(), ilQTIItem\getMaxattempts(), ilQTIItem\getMetadataEntry(), ilQTIItem\getPresentation(), ilQTIItem\getQuestiontext(), ilQTIItem\getTitle(), IL_INST_ID, assQuestionImport\importSuggestedSolutions(), assMatchingQuestion\MATCHING_MODE_1_ON_1, ILIAS\Repository\object(), assQuestionImport\QTIMaterialToString(), and saveImage().
Here is the call graph for this function:| assMatchingQuestionImport::saveImage | ( | $data, | |
| $filename | |||
| ) |
Definition at line 30 of file class.assMatchingQuestionImport.php.
References $data, $filename, and ilFileUtils\makeDirParents().
Referenced by fromXML().
Here is the call graph for this function:
Here is the caller graph for this function: