|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for ilQTIParser:
Collaboration diagram for ilQTIParser:Public Member Functions | |
| isIgnoreItemsEnabled () | |
| setIgnoreItemsEnabled (bool $ignoreItemsEnabled) | |
| getQuestionSetType () | |
| setTestObject (ilObjTest $tst_object) | |
| getTestObject () | |
| setHandlers ($a_xml_parser) | |
| set event handler should be overwritten by inherited class private More... | |
| startParsing () | |
| getParent ($a_xml_parser) | |
| handlerBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
| handlerParseBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
| handlerEndTag ($a_xml_parser, string $a_name) | |
| handlerParseEndTag ($a_xml_parser, string $a_name) | |
| NotOptimalIfConditionsInspection More... | |
| handlerCharacterData ($a_xml_parser, string $a_data) | |
| handlerParseCharacterData ($a_xml_parser, string $a_data) | |
| handlerVerifyBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
| handlerVerifyEndTag ($a_xml_parser, string $a_name) | |
| handlerVerifyCharacterData ($a_xml_parser, string $a_data) | |
| & | getFoundItems () |
| getImportMapping () | |
| Get array of new created questions for import id. More... | |
| getQuestionIdMapping () | |
| setXMLContent (string $a_xml_content) | |
| getNumImportedItems () | |
Public Member Functions inherited from ilSaxParser | |
| __construct (?string $path_to_file='', ?bool $throw_exception=false) | |
| setXMLContent (string $a_xml_content) | |
| getXMLContent () | |
| getInputType () | |
| startParsing () | |
| stores xml data in array More... | |
| createParser () | |
| setHandlers ($a_xml_parser) | |
| parse ($a_xml_parser, $a_fp=null) | |
Protected Member Functions | |
| setQuestionSetType (string $questionSetType) | |
| openXMLFile () | |
| fetchNumericVersionFromVersionDateString (string $versionDateString) | |
| fetchSourceNicFromItemIdent (string $itemIdent) | |
| cleanInvalidXmlChars (string $xmlContent) | |
| isMatImageAvailable () | |
| virusDetected (string $buffer) | |
Protected Member Functions inherited from ilSaxParser | |
| openXMLFile () | |
| handleError (string $message) | |
| setThrowException (bool $throw_exception) | |
Protected Attributes | |
| $solutionhint = null | |
| int | $numImportedItems = 0 |
| ilQTIPresentationMaterial | $prensentation_material = null |
| bool | $in_prensentation_material = false |
| bool | $ignoreItemsEnabled = false |
| string | $questionSetType = null |
| QuestionFiles | $questionfiles |
Protected Attributes inherited from ilSaxParser | |
| ilLanguage | $lng = null |
Private Member Functions | |
| assessmentBeginTag (array $a_attribs) | |
| assessmentControlBeginTag (array $a_attribs) | |
| itemFeedbackBeginTag (array $a_attribs) | |
| displayFeedbackBeginTag (array $a_attribs) | |
| setVarBeginTag (array $a_attribs) | |
| varEqualBeginTag (array $a_attribs) | |
| termsAndDefinitionsBeginTag (string $a_name, array $a_attribs) | |
| itemBeginTag (array $a_attribs) | |
| resprocessingBeginTag (array $a_attribs) | |
| renderFibBeginTag (array $a_attribs) | |
| renderHotspotBeginTag (array $a_attribs) | |
| renderChoiceBeginTag (array $a_attribs) | |
| responseLabelBeginTag (array $a_attribs) | |
| matAppletBeginTag (array $a_attribs) | |
| matTextBeginTag (array $a_attribs) | |
| materialBeginTag (array $a_attribs) | |
| matImageBeginTag (array $a_attribs) | |
| decVarBeginTag (array $a_attribs) | |
| createParserStorage () | |
Private Attributes | |
| readonly int | $user_id |
| ilQTIMatapplet | $matapplet = null |
| array | $metadata = ["label" => "" |
| ilQTIResponseVar | $responsevar = null |
Definition at line 32 of file class.ilQTIParser.php.
|
private |
Definition at line 1345 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
private |
Definition at line 1361 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
protected |
Definition at line 1285 of file class.ilQTIParser.php.
Referenced by openXMLFile(), and setXMLContent().
Here is the caller graph for this function:
|
private |
Definition at line 1801 of file class.ilQTIParser.php.
|
private |
Definition at line 1768 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
private |
Definition at line 1394 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
protected |
Definition at line 1263 of file class.ilQTIParser.php.
Referenced by handlerParseEndTag().
Here is the caller graph for this function:
|
protected |
Definition at line 1274 of file class.ilQTIParser.php.
Referenced by itemBeginTag().
Here is the caller graph for this function:| & ilQTIParser::getFoundItems | ( | ) |
Definition at line 1213 of file class.ilQTIParser.php.
References $founditems.
| ilQTIParser::getImportMapping | ( | ) |
Get array of new created questions for import id.
Definition at line 1222 of file class.ilQTIParser.php.
References $import_mapping.
Referenced by getQuestionIdMapping().
Here is the caller graph for this function:| ilQTIParser::getNumImportedItems | ( | ) |
| ilQTIParser::getParent | ( | $a_xml_parser | ) |
| XMLParser | resource | $a_xml_parser |
Definition at line 273 of file class.ilQTIParser.php.
Referenced by handlerParseCharacterData(), and handlerParseEndTag().
Here is the caller graph for this function:| ilQTIParser::getQuestionIdMapping | ( | ) |
Definition at line 1230 of file class.ilQTIParser.php.
References getImportMapping().
Here is the call graph for this function:| ilQTIParser::getQuestionSetType | ( | ) |
| ilQTIParser::getTestObject | ( | ) |
| ilQTIParser::handlerBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) |
| XMLParser | resource | $a_xml_parser | |
| array<string,string> | $a_attribs |
Definition at line 286 of file class.ilQTIParser.php.
References handlerParseBeginTag(), and handlerVerifyBeginTag().
Here is the call graph for this function:| ilQTIParser::handlerCharacterData | ( | $a_xml_parser, | |
| string | $a_data | ||
| ) |
| XMLParser | resource | $a_xml_parser |
Definition at line 899 of file class.ilQTIParser.php.
References handlerParseCharacterData(), and handlerVerifyCharacterData().
Here is the call graph for this function:| ilQTIParser::handlerEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) |
| XMLParser | resource | $a_xml_parser |
Definition at line 558 of file class.ilQTIParser.php.
References handlerParseEndTag(), and handlerVerifyEndTag().
Here is the call graph for this function:| ilQTIParser::handlerParseBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) |
| XMLParser | resource | $a_xml_parser | |
| array<string,string> | $a_attribs |
Definition at line 302 of file class.ilQTIParser.php.
References assessmentBeginTag(), assessmentControlBeginTag(), decVarBeginTag(), displayFeedbackBeginTag(), assQuestionExport\ITEM_SOLUTIONHINT, itemBeginTag(), itemFeedbackBeginTag(), matAppletBeginTag(), materialBeginTag(), matImageBeginTag(), matTextBeginTag(), renderChoiceBeginTag(), renderFibBeginTag(), renderHotspotBeginTag(), responseLabelBeginTag(), ilQTIResponseVar\RESPONSEVAR_GT, ilQTIResponseVar\RESPONSEVAR_GTE, ilQTIResponseVar\RESPONSEVAR_INSIDE, ilQTIResponseVar\RESPONSEVAR_LT, ilQTIResponseVar\RESPONSEVAR_LTE, ilQTIResponseVar\RESPONSEVAR_SUBSET, ilQTIResponseVar\RESPONSEVAR_SUBSTRING, resprocessingBeginTag(), setVarBeginTag(), termsAndDefinitionsBeginTag(), and varEqualBeginTag().
Referenced by handlerBeginTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilQTIParser::handlerParseCharacterData | ( | $a_xml_parser, | |
| string | $a_data | ||
| ) |
| XMLParser | resource | $a_xml_parser |
Definition at line 914 of file class.ilQTIParser.php.
References $characterbuffer, and getParent().
Referenced by handlerCharacterData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilQTIParser::handlerParseEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) |
NotOptimalIfConditionsInspection
| XMLParser | resource | $a_xml_parser |
Definition at line 574 of file class.ilQTIParser.php.
References $characterbuffer, Vendor\Package\$e, $GLOBALS, $solutionhint, fetchNumericVersionFromVersionDateString(), ILIAS\Test\Questions\Presentation\getLabel, getParent(), ilAssQuestionTypeList\isImportable(), isMatImageAvailable(), assQuestionExport\ITEM_SOLUTIONHINT, and virusDetected().
Referenced by handlerEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilQTIParser::handlerVerifyBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) |
| XMLParser | resource | $a_xml_parser | |
| array<string,string> | $a_attribs |
Definition at line 1010 of file class.ilQTIParser.php.
References assQuestionExport\ITEM_SOLUTIONHINT, ilQTIItem\QT_CLOZE, ilQTIItem\QT_IMAGEMAP, ilQTIItem\QT_MATCHING, ilQTIItem\QT_MULTIPLE_CHOICE_MR, ilQTIItem\QT_MULTIPLE_CHOICE_SR, ilQTIItem\QT_NUMERIC, ilQTIItem\QT_ORDERING, and ilQTIItem\QT_TEXT.
Referenced by handlerBeginTag().
Here is the caller graph for this function:| ilQTIParser::handlerVerifyCharacterData | ( | $a_xml_parser, | |
| string | $a_data | ||
| ) |
| XMLParser | resource | $a_xml_parser |
Definition at line 1186 of file class.ilQTIParser.php.
Referenced by handlerCharacterData().
Here is the caller graph for this function:| ilQTIParser::handlerVerifyEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) |
| XMLParser | resource | $a_xml_parser |
Definition at line 1139 of file class.ilQTIParser.php.
References $verifyfieldentrytext, ilObjTest\QUESTION_SET_TYPE_FIXED, ilObjTest\QUESTION_SET_TYPE_RANDOM, and setQuestionSetType().
Referenced by handlerEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilQTIParser::isIgnoreItemsEnabled | ( | ) |
Definition at line 219 of file class.ilQTIParser.php.
References $ignoreItemsEnabled.
Referenced by itemBeginTag().
Here is the caller graph for this function:
|
protected |
Definition at line 1321 of file class.ilQTIParser.php.
Referenced by handlerParseEndTag().
Here is the caller graph for this function:
|
private |
Definition at line 1483 of file class.ilQTIParser.php.
References fetchSourceNicFromItemIdent(), and isIgnoreItemsEnabled().
Referenced by handlerParseBeginTag().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1379 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
private |
Definition at line 1637 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
private |
Definition at line 1712 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
private |
Definition at line 1725 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
private |
Definition at line 1670 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
protected |
Definition at line 1254 of file class.ilQTIParser.php.
References cleanInvalidXmlChars().
Here is the call graph for this function:
|
private |
Definition at line 1583 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
private |
Definition at line 1523 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
private |
Definition at line 1562 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
private |
Definition at line 1604 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
private |
Definition at line 1511 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:| ilQTIParser::setHandlers | ( | $a_xml_parser | ) |
set event handler should be overwritten by inherited class private
| XMLParser | resource | $a_xml_parser |
Definition at line 257 of file class.ilQTIParser.php.
| ilQTIParser::setIgnoreItemsEnabled | ( | bool | $ignoreItemsEnabled | ) |
|
protected |
Definition at line 234 of file class.ilQTIParser.php.
References $questionSetType.
Referenced by handlerVerifyEndTag().
Here is the caller graph for this function:| ilQTIParser::setTestObject | ( | ilObjTest | $tst_object | ) |
Definition at line 239 of file class.ilQTIParser.php.
References $tst_object, and ilObject\getId().
Referenced by ilTestImporter\importXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1409 of file class.ilQTIParser.php.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:| ilQTIParser::setXMLContent | ( | string | $a_xml_content | ) |
Definition at line 1244 of file class.ilQTIParser.php.
References cleanInvalidXmlChars().
Here is the call graph for this function:| ilQTIParser::startParsing | ( | ) |
Definition at line 264 of file class.ilQTIParser.php.
Referenced by ilObjQuestionPoolGUI\importQuestionsFromQtiFile(), and ilTestQuestionPoolImporter\importXmlRepresentation().
Here is the caller graph for this function:
|
private |
Definition at line 1442 of file class.ilQTIParser.php.
References ilQTIResponse\RT_RESPONSE_GRP, ilQTIResponse\RT_RESPONSE_LID, ilQTIResponse\RT_RESPONSE_NUM, ilQTIResponse\RT_RESPONSE_STR, and ilQTIResponse\RT_RESPONSE_XY.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
private |
Definition at line 1424 of file class.ilQTIParser.php.
References ilQTIResponseVar\RESPONSEVAR_EQUAL.
Referenced by handlerParseBeginTag().
Here is the caller graph for this function:
|
protected |
Definition at line 1334 of file class.ilQTIParser.php.
References ilVirusScannerFactory\_getInstance().
Referenced by handlerParseEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilQTIAssessment ilQTIParser::$assessment = null |
Definition at line 133 of file class.ilQTIParser.php.
| ilQTIAssessmentcontrol ilQTIParser::$assessmentcontrol = null |
Definition at line 135 of file class.ilQTIParser.php.
| array ilQTIParser::$assessments = [] |
Definition at line 131 of file class.ilQTIParser.php.
| string ilQTIParser::$characterbuffer = "" |
Definition at line 104 of file class.ilQTIParser.php.
Referenced by handlerParseCharacterData(), and handlerParseEndTag().
| ilQTIConditionvar ilQTIParser::$conditionvar = null |
Definition at line 106 of file class.ilQTIParser.php.
| ilQTIDecvar ilQTIParser::$decvar = null |
Definition at line 81 of file class.ilQTIParser.php.
| ilQTIParser::$depth |
Definition at line 56 of file class.ilQTIParser.php.
| ilQTIDisplayfeedback ilQTIParser::$displayfeedback = null |
Definition at line 87 of file class.ilQTIParser.php.
| bool ilQTIParser::$do_nothing = false |
Definition at line 124 of file class.ilQTIParser.php.
| int ilQTIParser::$flow = 0 |
Definition at line 96 of file class.ilQTIParser.php.
| array ilQTIParser::$flow_mat = [] |
Definition at line 94 of file class.ilQTIParser.php.
| array ilQTIParser::$founditems = [] |
Definition at line 157 of file class.ilQTIParser.php.
Referenced by getFoundItems().
| int ilQTIParser::$gap_index = 0 |
Definition at line 126 of file class.ilQTIParser.php.
| bool ilQTIParser::$hasRootElement = false |
Definition at line 37 of file class.ilQTIParser.php.
|
protected |
Definition at line 179 of file class.ilQTIParser.php.
Referenced by isIgnoreItemsEnabled(), and setIgnoreItemsEnabled().
| array ilQTIParser::$import_idents = [] |
Definition at line 116 of file class.ilQTIParser.php.
| array ilQTIParser::$import_mapping = [] |
Definition at line 146 of file class.ilQTIParser.php.
Referenced by getImportMapping().
| bool ilQTIParser::$in_assessment = false |
Definition at line 139 of file class.ilQTIParser.php.
| bool ilQTIParser::$in_itemmetadata = false |
Definition at line 150 of file class.ilQTIParser.php.
| bool ilQTIParser::$in_objectives = false |
Definition at line 152 of file class.ilQTIParser.php.
|
protected |
Definition at line 177 of file class.ilQTIParser.php.
| bool ilQTIParser::$in_presentation = false |
Definition at line 60 of file class.ilQTIParser.php.
| bool ilQTIParser::$in_response = false |
Definition at line 62 of file class.ilQTIParser.php.
| ilQTIItem ilQTIParser::$item = null |
Definition at line 51 of file class.ilQTIParser.php.
| ilQTIItemfeedback ilQTIParser::$itemfeedback = null |
Definition at line 89 of file class.ilQTIParser.php.
| array ilQTIParser::$items = [] |
Definition at line 49 of file class.ilQTIParser.php.
|
private |
Definition at line 181 of file class.ilQTIParser.php.
| ilQTIMaterial ilQTIParser::$material = null |
Definition at line 71 of file class.ilQTIParser.php.
| ilQTIMatimage ilQTIParser::$matimage = null |
Definition at line 73 of file class.ilQTIParser.php.
| ilQTIMattext ilQTIParser::$mattext = null |
Definition at line 100 of file class.ilQTIParser.php.
|
private |
Definition at line 186 of file class.ilQTIParser.php.
|
protected |
Definition at line 173 of file class.ilQTIParser.php.
Referenced by getNumImportedItems().
| ilQTIObjectives ilQTIParser::$objectives = null |
Definition at line 137 of file class.ilQTIParser.php.
| ilQTIOutcomes ilQTIParser::$outcomes = null |
Definition at line 79 of file class.ilQTIParser.php.
| int ilQTIParser::$parser_mode = 0 |
Definition at line 108 of file class.ilQTIParser.php.
| array ilQTIParser::$path = [] |
Definition at line 44 of file class.ilQTIParser.php.
|
protected |
Definition at line 175 of file class.ilQTIParser.php.
| ilQTIPresentation ilQTIParser::$presentation = null |
Definition at line 98 of file class.ilQTIParser.php.
| int ilQTIParser::$qpl_id = 0 |
Definition at line 118 of file class.ilQTIParser.php.
| string ilQTIParser::$qti_element = "" |
Definition at line 58 of file class.ilQTIParser.php.
| int ilQTIParser::$question_counter = 1 |
Definition at line 148 of file class.ilQTIParser.php.
|
protected |
Definition at line 192 of file class.ilQTIParser.php.
|
protected |
Definition at line 190 of file class.ilQTIParser.php.
Referenced by getQuestionSetType(), and setQuestionSetType().
| ilQTIParser::$render_type = null |
Definition at line 67 of file class.ilQTIParser.php.
| ilQTIRespcondition ilQTIParser::$respcondition = null |
Definition at line 83 of file class.ilQTIParser.php.
| ilQTIResponse ilQTIParser::$response = null |
Definition at line 75 of file class.ilQTIParser.php.
| ilQTIResponseLabel ilQTIParser::$response_label = null |
Definition at line 69 of file class.ilQTIParser.php.
|
private |
Definition at line 188 of file class.ilQTIParser.php.
| ilQTIResprocessing ilQTIParser::$resprocessing = null |
Definition at line 77 of file class.ilQTIParser.php.
| bool ilQTIParser::$sametag = false |
Definition at line 102 of file class.ilQTIParser.php.
| ilQTISection ilQTIParser::$section = null |
Definition at line 141 of file class.ilQTIParser.php.
| ilQTISetvar ilQTIParser::$setvar = null |
Definition at line 85 of file class.ilQTIParser.php.
|
protected |
Definition at line 110 of file class.ilQTIParser.php.
Referenced by handlerParseEndTag().
| ilQTIParser::$solutionhints = [] |
Definition at line 111 of file class.ilQTIParser.php.
| int ilQTIParser::$tst_id = null |
Definition at line 120 of file class.ilQTIParser.php.
| ilObjTest ilQTIParser::$tst_object = null |
Definition at line 122 of file class.ilQTIParser.php.
Referenced by getTestObject(), and setTestObject().
|
private |
Definition at line 39 of file class.ilQTIParser.php.
| int ilQTIParser::$verifyfieldentry = 0 |
Definition at line 169 of file class.ilQTIParser.php.
| string ilQTIParser::$verifyfieldentrytext = "" |
Definition at line 171 of file class.ilQTIParser.php.
Referenced by handlerVerifyEndTag().
| int ilQTIParser::$verifyfieldlabel = 0 |
Definition at line 165 of file class.ilQTIParser.php.
| string ilQTIParser::$verifyfieldlabeltext = "" |
Definition at line 167 of file class.ilQTIParser.php.
| int ilQTIParser::$verifymetadatafield = 0 |
Definition at line 163 of file class.ilQTIParser.php.
| int ilQTIParser::$verifyqticomment = 0 |
Definition at line 161 of file class.ilQTIParser.php.
| bool ilQTIParser::$verifyroot = false |
Definition at line 159 of file class.ilQTIParser.php.
| array ilQTIParser::entry => ""] |
Definition at line 186 of file class.ilQTIParser.php.
| const ilQTIParser::IL_MO_PARSE_QTI = 1 |
Definition at line 34 of file class.ilQTIParser.php.
Referenced by ilObjQuestionPoolGUI\importQuestionsFromQtiFile(), ilTestQuestionPoolImporter\importXmlRepresentation(), ilTestImporter\importXmlRepresentation(), and ilLearningModuleImporter\importXmlRepresentation().
| const ilQTIParser::IL_MO_VERIFY_QTI = 2 |
Definition at line 35 of file class.ilQTIParser.php.
Referenced by ILIAS\TestQuestionPool\Import\buildImportQuestionsSelectionForm(), ilObjTestGUI\importFile(), and ilLearningModuleImporter\importXmlRepresentation().