|
ILIAS
Release_3_10_x_branch Revision 61812
|
Inheritance diagram for ilQTIParser:
Collaboration diagram for ilQTIParser:Public Member Functions | |
| ilQTIParser ($a_xml_file, $a_mode=IL_MO_PARSE_QTI, $a_qpl_id=0, $a_import_idents="") | |
| Constructor. | |
| setTestObject (&$a_tst_object) | |
| setParserMode ($a_mode=IL_MO_PARSE_QTI) | |
| setHandlers ($a_xml_parser) | |
| set event handler should be overwritten by inherited class private | |
| startParsing () | |
| stores xml data in array | |
| getParent ($a_xml_parser) | |
| handlerBeginTag ($a_xml_parser, $a_name, $a_attribs) | |
| handler for begin of element | |
| handlerParseBeginTag ($a_xml_parser, $a_name, $a_attribs) | |
| handler for begin of element parser | |
| handlerEndTag ($a_xml_parser, $a_name) | |
| handler for end of element | |
| handlerParseEndTag ($a_xml_parser, $a_name) | |
| handler for end of element parser | |
| handlerCharacterData ($a_xml_parser, $a_data) | |
| handler for character data | |
| handlerParseCharacterData ($a_xml_parser, $a_data) | |
| handler for character data | |
| handlerVerifyBeginTag ($a_xml_parser, $a_name, $a_attribs) | |
| handler for begin of element verification | |
| handlerVerifyEndTag ($a_xml_parser, $a_name) | |
| handler for end of element verification | |
| handlerVerifyCharacterData ($a_xml_parser, $a_data) | |
| handler for character data verification | |
| & | getFoundItems () |
| getImportMapping () | |
| get array of new created questions for import id | |
Public Member Functions inherited from ilSaxParser | |
| ilSaxParser ($a_xml_file= '', $throwException=false) | |
| Constructor setup ILIAS global object public. | |
| setXMLContent ($a_xml_content) | |
| getXMLContent () | |
| getInputType () | |
| createParser () | |
| create parser | |
| setOptions ($a_xml_parser) | |
| set parser options | |
| openXMLFile () | |
| open xml file | |
| parse ($a_xml_parser, $a_fp=null) | |
| parse xml file | |
| freeParser ($a_xml_parser) | |
| free xml parser handle | |
| setThrowException ($throwException) | |
| set error handling | |
Data Fields | |
| $lng | |
| $hasRootElement | |
| $path | |
| $items | |
| $item | |
| $depth | |
| $qti_element | |
| $in_presentation | |
| $in_response | |
| $render_type | |
| $response_label | |
| $material | |
| $matimage | |
| $response | |
| $resprocessing | |
| $outcomes | |
| $decvar | |
| $respcondition | |
| $setvar | |
| $displayfeedback | |
| $itemfeedback | |
| $flow_mat | |
| $flow | |
| $presentation | |
| $mattext | |
| $sametag | |
| $characterbuffer | |
| $conditionvar | |
| $parser_mode | |
| $import_idents | |
| $qpl_id | |
| $tst_id | |
| $tst_object | |
| $do_nothing | |
| $gap_index | |
| $assessments | |
| $assessment | |
| $assessmentcontrol | |
| $objectives | |
| $in_assessment = FALSE | |
| $section | |
| $import_mapping | |
| $question_counter = 1 | |
| $in_itemmetadata | |
| $in_objectives = FALSE | |
| $founditems = array() | |
| $verifyroot = false | |
| $verifyqticomment = 0 | |
| $verifymetadatafield = 0 | |
| $verifyfieldlabel = 0 | |
| $verifyfieldlabeltext = "" | |
| $verifyfieldentry = 0 | |
| $verifyfieldentrytext = "" | |
Data Fields inherited from ilSaxParser | |
| $input_type = null | |
| $xml_content = '' | |
| $ilias | |
| $lng | |
| $xml_file | |
| $throwException = false | |
Additional Inherited Members | |
Protected Member Functions inherited from ilSaxParser | |
| handleError ($message, $code) | |
| use given error handler to handle error message or internal ilias error message handle | |
Definition at line 38 of file class.ilQTIParser.php.
| & ilQTIParser::getFoundItems | ( | ) |
Definition at line 1638 of file class.ilQTIParser.php.
References $founditems.
| ilQTIParser::getImportMapping | ( | ) |
get array of new created questions for import id
Definition at line 1647 of file class.ilQTIParser.php.
References $import_mapping.
| ilQTIParser::getParent | ( | $a_xml_parser | ) |
Definition at line 203 of file class.ilQTIParser.php.
Referenced by handlerParseCharacterData(), and handlerParseEndTag().
Here is the caller graph for this function:| ilQTIParser::handlerBeginTag | ( | $a_xml_parser, | |
| $a_name, | |||
| $a_attribs | |||
| ) |
handler for begin of element
Definition at line 218 of file class.ilQTIParser.php.
References handlerParseBeginTag(), handlerVerifyBeginTag(), IL_MO_PARSE_QTI, and IL_MO_VERIFY_QTI.
Here is the call graph for this function:| ilQTIParser::handlerCharacterData | ( | $a_xml_parser, | |
| $a_data | |||
| ) |
handler for character data
Definition at line 1335 of file class.ilQTIParser.php.
References handlerParseCharacterData(), handlerVerifyCharacterData(), IL_MO_PARSE_QTI, and IL_MO_VERIFY_QTI.
Here is the call graph for this function:| ilQTIParser::handlerEndTag | ( | $a_xml_parser, | |
| $a_name | |||
| ) |
handler for end of element
Definition at line 988 of file class.ilQTIParser.php.
References handlerParseEndTag(), handlerVerifyEndTag(), IL_MO_PARSE_QTI, and IL_MO_VERIFY_QTI.
Here is the call graph for this function:| ilQTIParser::handlerParseBeginTag | ( | $a_xml_parser, | |
| $a_name, | |||
| $a_attribs | |||
| ) |
handler for begin of element parser
Definition at line 234 of file class.ilQTIParser.php.
References RESPONSEVAR_EQUAL, RESPONSEVAR_GT, RESPONSEVAR_GTE, RESPONSEVAR_INSIDE, RESPONSEVAR_LT, RESPONSEVAR_LTE, RESPONSEVAR_SUBSET, RESPONSEVAR_SUBSTRING, RT_RESPONSE_GRP, RT_RESPONSE_LID, RT_RESPONSE_NUM, RT_RESPONSE_STR, and RT_RESPONSE_XY.
Referenced by handlerBeginTag().
Here is the caller graph for this function:| ilQTIParser::handlerParseCharacterData | ( | $a_xml_parser, | |
| $a_data | |||
| ) |
handler for character data
Definition at line 1351 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, | |
| $a_name | |||
| ) |
handler for end of element parser
Definition at line 1004 of file class.ilQTIParser.php.
References $flow_mat, $presentation, assQuestion\_includeClass(), and getParent().
Referenced by handlerEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:| ilQTIParser::handlerVerifyBeginTag | ( | $a_xml_parser, | |
| $a_name, | |||
| $a_attribs | |||
| ) |
handler for begin of element verification
Definition at line 1456 of file class.ilQTIParser.php.
References $title, QT_CLOZE, QT_IMAGEMAP, QT_MATCHING, QT_MULTIPLE_CHOICE_MR, QT_MULTIPLE_CHOICE_SR, QT_NUMERIC, QT_ORDERING, and QT_TEXT.
Referenced by handlerBeginTag().
Here is the caller graph for this function:| ilQTIParser::handlerVerifyCharacterData | ( | $a_xml_parser, | |
| $a_data | |||
| ) |
handler for character data verification
Definition at line 1616 of file class.ilQTIParser.php.
Referenced by handlerCharacterData().
Here is the caller graph for this function:| ilQTIParser::handlerVerifyEndTag | ( | $a_xml_parser, | |
| $a_name | |||
| ) |
handler for end of element verification
Definition at line 1589 of file class.ilQTIParser.php.
References $verifyfieldentrytext.
Referenced by handlerEndTag().
Here is the caller graph for this function:| ilQTIParser::ilQTIParser | ( | $a_xml_file, | |
$a_mode = IL_MO_PARSE_QTI, |
|||
$a_qpl_id = 0, |
|||
$a_import_idents = "" |
|||
| ) |
Constructor.
| string | $a_xml_file | xml file |
| integer | $a_mode | Parser mode IL_MO_PARSE_QTI | IL_MO_VERIFY_QTI public |
Definition at line 103 of file class.ilQTIParser.php.
References $lng, ilSaxParser\ilSaxParser(), and setParserMode().
Here is the call graph for this function:| ilQTIParser::setHandlers | ( | $a_xml_parser | ) |
set event handler should be overwritten by inherited class private
Reimplemented from ilSaxParser.
Definition at line 189 of file class.ilQTIParser.php.
| ilQTIParser::setParserMode | ( | $a_mode = IL_MO_PARSE_QTI | ) |
Definition at line 170 of file class.ilQTIParser.php.
Referenced by ilQTIParser().
Here is the caller graph for this function:| ilQTIParser::setTestObject | ( | & | $a_tst_object | ) |
Definition at line 161 of file class.ilQTIParser.php.
| ilQTIParser::startParsing | ( | ) |
stores xml data in array
private
| ilSaxParserException | or ILIAS Error |
Reimplemented from ilSaxParser.
Definition at line 196 of file class.ilQTIParser.php.
| ilQTIParser::$assessment |
Definition at line 76 of file class.ilQTIParser.php.
| ilQTIParser::$assessmentcontrol |
Definition at line 77 of file class.ilQTIParser.php.
| ilQTIParser::$assessments |
Definition at line 75 of file class.ilQTIParser.php.
| ilQTIParser::$characterbuffer |
Definition at line 66 of file class.ilQTIParser.php.
Referenced by handlerParseCharacterData().
| ilQTIParser::$conditionvar |
Definition at line 67 of file class.ilQTIParser.php.
| ilQTIParser::$decvar |
Definition at line 56 of file class.ilQTIParser.php.
| ilQTIParser::$depth |
Definition at line 45 of file class.ilQTIParser.php.
| ilQTIParser::$displayfeedback |
Definition at line 59 of file class.ilQTIParser.php.
| ilQTIParser::$do_nothing |
Definition at line 73 of file class.ilQTIParser.php.
| ilQTIParser::$flow |
Definition at line 62 of file class.ilQTIParser.php.
| ilQTIParser::$flow_mat |
Definition at line 61 of file class.ilQTIParser.php.
Referenced by handlerParseEndTag().
| ilQTIParser::$founditems = array() |
Definition at line 86 of file class.ilQTIParser.php.
Referenced by getFoundItems().
| ilQTIParser::$gap_index |
Definition at line 74 of file class.ilQTIParser.php.
| ilQTIParser::$hasRootElement |
Definition at line 41 of file class.ilQTIParser.php.
| ilQTIParser::$import_idents |
Definition at line 69 of file class.ilQTIParser.php.
| ilQTIParser::$import_mapping |
Definition at line 81 of file class.ilQTIParser.php.
Referenced by getImportMapping().
| ilQTIParser::$in_assessment = FALSE |
Definition at line 79 of file class.ilQTIParser.php.
| ilQTIParser::$in_itemmetadata |
Definition at line 83 of file class.ilQTIParser.php.
| ilQTIParser::$in_objectives = FALSE |
Definition at line 84 of file class.ilQTIParser.php.
| ilQTIParser::$in_presentation |
Definition at line 47 of file class.ilQTIParser.php.
| ilQTIParser::$in_response |
Definition at line 48 of file class.ilQTIParser.php.
| ilQTIParser::$item |
Definition at line 44 of file class.ilQTIParser.php.
| ilQTIParser::$itemfeedback |
Definition at line 60 of file class.ilQTIParser.php.
| ilQTIParser::$items |
Definition at line 43 of file class.ilQTIParser.php.
| ilQTIParser::$lng |
Definition at line 40 of file class.ilQTIParser.php.
Referenced by ilQTIParser().
| ilQTIParser::$material |
Definition at line 51 of file class.ilQTIParser.php.
| ilQTIParser::$matimage |
Definition at line 52 of file class.ilQTIParser.php.
| ilQTIParser::$mattext |
Definition at line 64 of file class.ilQTIParser.php.
| ilQTIParser::$objectives |
Definition at line 78 of file class.ilQTIParser.php.
| ilQTIParser::$outcomes |
Definition at line 55 of file class.ilQTIParser.php.
| ilQTIParser::$parser_mode |
Definition at line 68 of file class.ilQTIParser.php.
| ilQTIParser::$path |
Definition at line 42 of file class.ilQTIParser.php.
| ilQTIParser::$presentation |
Definition at line 63 of file class.ilQTIParser.php.
Referenced by handlerParseEndTag().
| ilQTIParser::$qpl_id |
Definition at line 70 of file class.ilQTIParser.php.
| ilQTIParser::$qti_element |
Definition at line 46 of file class.ilQTIParser.php.
| ilQTIParser::$question_counter = 1 |
Definition at line 82 of file class.ilQTIParser.php.
| ilQTIParser::$render_type |
Definition at line 49 of file class.ilQTIParser.php.
| ilQTIParser::$respcondition |
Definition at line 57 of file class.ilQTIParser.php.
| ilQTIParser::$response |
Definition at line 53 of file class.ilQTIParser.php.
| ilQTIParser::$response_label |
Definition at line 50 of file class.ilQTIParser.php.
| ilQTIParser::$resprocessing |
Definition at line 54 of file class.ilQTIParser.php.
| ilQTIParser::$sametag |
Definition at line 65 of file class.ilQTIParser.php.
| ilQTIParser::$section |
Definition at line 80 of file class.ilQTIParser.php.
| ilQTIParser::$setvar |
Definition at line 58 of file class.ilQTIParser.php.
| ilQTIParser::$tst_id |
Definition at line 71 of file class.ilQTIParser.php.
| ilQTIParser::$tst_object |
Definition at line 72 of file class.ilQTIParser.php.
| ilQTIParser::$verifyfieldentry = 0 |
Definition at line 92 of file class.ilQTIParser.php.
| ilQTIParser::$verifyfieldentrytext = "" |
Definition at line 93 of file class.ilQTIParser.php.
Referenced by handlerVerifyEndTag().
| ilQTIParser::$verifyfieldlabel = 0 |
Definition at line 90 of file class.ilQTIParser.php.
| ilQTIParser::$verifyfieldlabeltext = "" |
Definition at line 91 of file class.ilQTIParser.php.
| ilQTIParser::$verifymetadatafield = 0 |
Definition at line 89 of file class.ilQTIParser.php.
| ilQTIParser::$verifyqticomment = 0 |
Definition at line 88 of file class.ilQTIParser.php.
| ilQTIParser::$verifyroot = false |
Definition at line 87 of file class.ilQTIParser.php.