|
ILIAS
Release_4_2_x_branch Revision 61807
|
Class for formula question imports. More...
Inheritance diagram for assOrderingHorizontalImport:
Collaboration diagram for assOrderingHorizontalImport:Public Member Functions | |
| fromXML (&$item, $questionpool_id, &$tst_id, &$tst_object, &$question_counter, &$import_mapping) | |
| Creates a question from a QTI file. | |
Public Member Functions inherited from assQuestionImport | |
| assQuestionImport (&$a_object) | |
| assQuestionImport constructor | |
| getFeedbackGeneric ($item) | |
Additional Inherited Members | |
Data Fields inherited from assQuestionImport | |
| $object | |
Protected Member Functions inherited from assQuestionImport | |
| getQplImportArchivDirectory () | |
| returns the full path to extracted qpl import archiv (qpl import dir + qpl archiv subdir) | |
| getTstImportArchivDirectory () | |
| returns the full path to extracted tst import archiv (tst import dir + tst archiv subdir) | |
Class for formula question imports.
assOrderingHorizontalImport is a class for horizontal ordering question imports
Definition at line 35 of file class.assOrderingHorizontalImport.php.
| assOrderingHorizontalImport::fromXML | ( | & | $item, |
| $questionpool_id, | |||
| & | $tst_id, | ||
| & | $tst_object, | ||
| & | $question_counter, | ||
| & | $import_mapping | ||
| ) |
Creates a question from a QTI file.
Receives parameters from a QTI parser and creates a valid ILIAS question object
| object | $item | The QTI item object |
| integer | $questionpool_id | The id of the parent questionpool |
| integer | $tst_id | The id of the parent test if the question is part of a test |
| object | $tst_object | A reference to the parent test object |
| integer | $question_counter | A reference to a question counter to count the questions of an imported question pool |
| array | $import_mapping | An array containing references to included ILIAS objects public |
Reimplemented from assQuestionImport.
Definition at line 50 of file class.assOrderingHorizontalImport.php.
References $_SESSION, $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilObjMediaObject\_saveUsage(), assQuestionImport\getQplImportArchivDirectory(), and assQuestionImport\getTstImportArchivDirectory().
Here is the call graph for this function: