|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Collaboration diagram for ilQTIItem:Data Fields | |
| const | QT_UNKNOWN = "unknown" |
| const | QT_KPRIM_CHOICE = "assKprimChoice" |
| const | QT_LONG_MENU = "assLongMenu" |
| const | QT_MULTIPLE_CHOICE_SR = "assSingleChoice" |
| const | QT_MULTIPLE_CHOICE_MR = "assMultipleChoice" |
| const | QT_CLOZE = "assClozeTest" |
| const | QT_ERRORTEXT = "assErrorText" |
| const | QT_MATCHING = "assMatchingQuestion" |
| const | QT_ORDERING = "assOrderingQuestion" |
| const | QT_ORDERING_HORIZONTAL = "assOrderingHorizontal" |
| const | QT_IMAGEMAP = "assImagemapQuestion" |
| const | QT_TEXT = "assTextQuestion" |
| const | QT_FILEUPLOAD = "assFileUpload" |
| const | QT_NUMERIC = "assNumeric" |
| const | QT_FORMULA = "assFormulaQuestion" |
| const | QT_TEXTSUBSET = "assTextSubset" |
| string | $ident = null |
| string | $title = '' |
| string | $maxattempts = '' |
| string | $label = null |
| string | $xmllang = null |
| string | $comment = '' |
| string | $ilias_version = null |
| string | $author = '' |
| string | $questiontype = null |
| array | $duration = null |
| ilQTIMaterial | $questiontext = null |
| array | $resprocessing = [] |
| array | $itemfeedback = [] |
| ilQTIPresentation | $presentation = null |
| array | $presentationitem = [] |
| array | $suggested_solutions = [] |
| array | $itemmetadata = [] |
Protected Attributes | |
| string | $iliasSourceVersion = null |
| string | $iliasSourceNic = null |
| array | $response = [] |
Private Member Functions | |
| typeFromResponse (ilQTIResponse $response) | |
Private Attributes | |
| const | VALID_QUESTION_TYPES |
Definition at line 29 of file class.ilQTIItem.php.
| ilQTIItem::addItemfeedback | ( | ilQTIItemfeedback | $a_itemfeedback | ) |
Definition at line 175 of file class.ilQTIItem.php.
| ilQTIItem::addMetadata | ( | array | $a_metadata | ) |
| array{label | string, entry: string} $a_metadata |
Definition at line 325 of file class.ilQTIItem.php.
| ilQTIItem::addPresentationitem | ( | $a_presentationitem | ) |
| ilQTIResponse | ilQTIMaterial | null | $a_presentationitem |
Definition at line 233 of file class.ilQTIItem.php.
| ilQTIItem::addResprocessing | ( | ilQTIResprocessing | $a_resprocessing | ) |
Definition at line 170 of file class.ilQTIItem.php.
| ilQTIItem::addSuggestedSolution | ( | ilQTIMattext | $a_solution, |
| int | $a_gap_index | ||
| ) |
Definition at line 317 of file class.ilQTIItem.php.
| ilQTIItem::determineQuestionType | ( | ) |
Definition at line 238 of file class.ilQTIItem.php.
References $questiontype, and typeFromResponse().
Here is the call graph for this function:| ilQTIItem::getAuthor | ( | ) |
Definition at line 292 of file class.ilQTIItem.php.
References $author.
Referenced by assErrorTextImport\fromXML(), assFileUploadImport\fromXML(), assFormulaQuestionImport\fromXML(), assMultipleChoiceImport\fromXML(), assImagemapQuestionImport\fromXML(), assNumericImport\fromXML(), assOrderingHorizontalImport\fromXML(), assSingleChoiceImport\fromXML(), assTextSubsetImport\fromXML(), assKprimChoiceImport\fromXML(), assTextQuestionImport\fromXML(), assOrderingQuestionImport\fromXML(), assLongMenuImport\fromXML(), assMatchingQuestionImport\fromXML(), and assClozeTestImport\fromXML().
Here is the caller graph for this function:| ilQTIItem::getComment | ( | ) |
Definition at line 136 of file class.ilQTIItem.php.
References $comment.
Referenced by assErrorTextImport\fromXML(), assFileUploadImport\fromXML(), assFormulaQuestionImport\fromXML(), assMultipleChoiceImport\fromXML(), assImagemapQuestionImport\fromXML(), assNumericImport\fromXML(), assOrderingHorizontalImport\fromXML(), assSingleChoiceImport\fromXML(), assTextSubsetImport\fromXML(), assKprimChoiceImport\fromXML(), assTextQuestionImport\fromXML(), assOrderingQuestionImport\fromXML(), assLongMenuImport\fromXML(), assMatchingQuestionImport\fromXML(), and assClozeTestImport\fromXML().
Here is the caller graph for this function:| ilQTIItem::getDuration | ( | ) |
Definition at line 155 of file class.ilQTIItem.php.
References $duration.
| ilQTIItem::getIdent | ( | ) |
Definition at line 102 of file class.ilQTIItem.php.
References $ident.
Referenced by assErrorTextImport\fromXML(), assFileUploadImport\fromXML(), assFormulaQuestionImport\fromXML(), assMultipleChoiceImport\fromXML(), assImagemapQuestionImport\fromXML(), assNumericImport\fromXML(), assOrderingHorizontalImport\fromXML(), assSingleChoiceImport\fromXML(), assTextSubsetImport\fromXML(), assKprimChoiceImport\fromXML(), assTextQuestionImport\fromXML(), assOrderingQuestionImport\fromXML(), assLongMenuImport\fromXML(), assMatchingQuestionImport\fromXML(), and assClozeTestImport\fromXML().
Here is the caller graph for this function:| ilQTIItem::getIliasSourceNic | ( | ) |
Definition at line 307 of file class.ilQTIItem.php.
References $iliasSourceNic.
Referenced by assClozeTestImport\fromXML().
Here is the caller graph for this function:| ilQTIItem::getIliasSourceVersion | ( | ) |
| ilQTIItem::getLabel | ( | ) |
| ilQTIItem::getMaxattempts | ( | ) |
Definition at line 185 of file class.ilQTIItem.php.
References $maxattempts.
Referenced by assErrorTextImport\fromXML(), assFileUploadImport\fromXML(), assImagemapQuestionImport\fromXML(), assMultipleChoiceImport\fromXML(), assNumericImport\fromXML(), assOrderingHorizontalImport\fromXML(), assSingleChoiceImport\fromXML(), assTextSubsetImport\fromXML(), assKprimChoiceImport\fromXML(), assOrderingQuestionImport\fromXML(), assTextQuestionImport\fromXML(), assLongMenuImport\fromXML(), assMatchingQuestionImport\fromXML(), and assClozeTestImport\fromXML().
Here is the caller graph for this function:| ilQTIItem::getMetadata | ( | ) |
| ilQTIItem::getMetadataEntry | ( | string | $a_label | ) |
Definition at line 335 of file class.ilQTIItem.php.
Referenced by assQuestionImport\addGeneralMetadata(), assQuestionImport\fetchLifecycle(), assErrorTextImport\fromXML(), assFileUploadImport\fromXML(), assFormulaQuestionImport\fromXML(), assMultipleChoiceImport\fromXML(), assTextSubsetImport\fromXML(), assImagemapQuestionImport\fromXML(), assOrderingHorizontalImport\fromXML(), assSingleChoiceImport\fromXML(), assKprimChoiceImport\fromXML(), assTextQuestionImport\fromXML(), assOrderingQuestionImport\fromXML(), assLongMenuImport\fromXML(), assMatchingQuestionImport\fromXML(), and assClozeTestImport\fromXML().
Here is the caller graph for this function:| ilQTIItem::getPresentation | ( | ) |
Definition at line 215 of file class.ilQTIItem.php.
References $presentation.
Referenced by assImagemapQuestionImport\fromXML(), assOrderingHorizontalImport\fromXML(), assSingleChoiceImport\fromXML(), assMultipleChoiceImport\fromXML(), assTextSubsetImport\fromXML(), assNumericImport\fromXML(), assKprimChoiceImport\fromXML(), assOrderingQuestionImport\fromXML(), assTextQuestionImport\fromXML(), assLongMenuImport\fromXML(), assMatchingQuestionImport\fromXML(), and assClozeTestImport\fromXML().
Here is the caller graph for this function:| ilQTIItem::getQuestiontext | ( | ) |
Definition at line 165 of file class.ilQTIItem.php.
References $questiontext.
Referenced by assErrorTextImport\fromXML(), assFileUploadImport\fromXML(), assImagemapQuestionImport\fromXML(), assNumericImport\fromXML(), assOrderingHorizontalImport\fromXML(), assSingleChoiceImport\fromXML(), assFormulaQuestionImport\fromXML(), assMultipleChoiceImport\fromXML(), assTextSubsetImport\fromXML(), assKprimChoiceImport\fromXML(), assTextQuestionImport\fromXML(), assOrderingQuestionImport\fromXML(), and assMatchingQuestionImport\fromXML().
Here is the caller graph for this function:| ilQTIItem::getQuestiontype | ( | ) |
Definition at line 225 of file class.ilQTIItem.php.
References $questiontype.
Referenced by ilAsqService\determineQuestionTypeByQtiItem().
Here is the caller graph for this function:| ilQTIItem::getTitle | ( | ) |
Definition at line 112 of file class.ilQTIItem.php.
References $title.
Referenced by assErrorTextImport\fromXML(), assFileUploadImport\fromXML(), assFormulaQuestionImport\fromXML(), assMultipleChoiceImport\fromXML(), assImagemapQuestionImport\fromXML(), assNumericImport\fromXML(), assOrderingHorizontalImport\fromXML(), assSingleChoiceImport\fromXML(), assTextSubsetImport\fromXML(), assKprimChoiceImport\fromXML(), assTextQuestionImport\fromXML(), assOrderingQuestionImport\fromXML(), assLongMenuImport\fromXML(), assMatchingQuestionImport\fromXML(), and assClozeTestImport\fromXML().
Here is the caller graph for this function:| ilQTIItem::getXmllang | ( | ) |
| ilQTIItem::setAuthor | ( | string | $a_author | ) |
Definition at line 287 of file class.ilQTIItem.php.
| ilQTIItem::setComment | ( | string | $a_comment | ) |
Definition at line 117 of file class.ilQTIItem.php.
References ILIAS\UI\examples\Symbol\Glyph\Comment\comment().
Here is the call graph for this function:| ilQTIItem::setDuration | ( | string | $a_duration | ) |
Definition at line 141 of file class.ilQTIItem.php.
| ilQTIItem::setIdent | ( | string | $a_ident | ) |
Definition at line 97 of file class.ilQTIItem.php.
| ilQTIItem::setIliasSourceNic | ( | ?string | $iliasSourceNic | ) |
| ilQTIItem::setIliasSourceVersion | ( | ?string | $iliasSourceVersion | ) |
Definition at line 302 of file class.ilQTIItem.php.
| ilQTIItem::setLabel | ( | string | $a_label | ) |
Definition at line 190 of file class.ilQTIItem.php.
| ilQTIItem::setMaxattempts | ( | string | $a_maxattempts | ) |
Definition at line 180 of file class.ilQTIItem.php.
| ilQTIItem::setPresentation | ( | ilQTIPresentation | $a_presentation | ) |
Definition at line 210 of file class.ilQTIItem.php.
| ilQTIItem::setQuestiontext | ( | ilQTIMaterial | $a_questiontext | ) |
Definition at line 160 of file class.ilQTIItem.php.
| ilQTIItem::setQuestiontype | ( | string | $a_questiontype | ) |
Definition at line 220 of file class.ilQTIItem.php.
| ilQTIItem::setTitle | ( | string | $a_title | ) |
Definition at line 107 of file class.ilQTIItem.php.
| ilQTIItem::setXmllang | ( | string | $a_xmllang | ) |
Definition at line 200 of file class.ilQTIItem.php.
|
private |
Definition at line 345 of file class.ilQTIItem.php.
References ilQTIResponse\getRCardinality(), ilQTIResponse\getResponsetype(), ilQTIResponse\R_CARDINALITY_MULTIPLE, ilQTIResponse\R_CARDINALITY_ORDERED, ilQTIResponse\R_CARDINALITY_SINGLE, ilQTIResponse\RT_RESPONSE_GRP, ilQTIResponse\RT_RESPONSE_LID, ilQTIResponse\RT_RESPONSE_STR, and ilQTIResponse\RT_RESPONSE_XY.
Referenced by determineQuestionType().
Here is the call graph for this function:
Here is the caller graph for this function:| string ilQTIItem::$author = '' |
Definition at line 73 of file class.ilQTIItem.php.
Referenced by getAuthor().
| string ilQTIItem::$comment = '' |
Definition at line 71 of file class.ilQTIItem.php.
Referenced by getComment().
| array ilQTIItem::$duration = null |
Definition at line 76 of file class.ilQTIItem.php.
Referenced by getDuration().
| string ilQTIItem::$ident = null |
Definition at line 66 of file class.ilQTIItem.php.
Referenced by getIdent().
| string ilQTIItem::$ilias_version = null |
Definition at line 72 of file class.ilQTIItem.php.
|
protected |
Definition at line 94 of file class.ilQTIItem.php.
Referenced by getIliasSourceNic(), and setIliasSourceNic().
|
protected |
Definition at line 93 of file class.ilQTIItem.php.
Referenced by getIliasSourceVersion().
| array ilQTIItem::$itemfeedback = [] |
Definition at line 81 of file class.ilQTIItem.php.
| array ilQTIItem::$itemmetadata = [] |
Definition at line 92 of file class.ilQTIItem.php.
Referenced by getMetadata().
| string ilQTIItem::$label = null |
Definition at line 69 of file class.ilQTIItem.php.
Referenced by getLabel().
| string ilQTIItem::$maxattempts = '' |
Definition at line 68 of file class.ilQTIItem.php.
Referenced by getMaxattempts().
| ilQTIPresentation ilQTIItem::$presentation = null |
Definition at line 82 of file class.ilQTIItem.php.
Referenced by getPresentation().
| array ilQTIItem::$presentationitem = [] |
Definition at line 84 of file class.ilQTIItem.php.
| ilQTIMaterial ilQTIItem::$questiontext = null |
Definition at line 77 of file class.ilQTIItem.php.
Referenced by getQuestiontext().
| string ilQTIItem::$questiontype = null |
Definition at line 74 of file class.ilQTIItem.php.
Referenced by determineQuestionType(), and getQuestiontype().
|
protected |
Definition at line 95 of file class.ilQTIItem.php.
| array ilQTIItem::$resprocessing = [] |
Definition at line 79 of file class.ilQTIItem.php.
| array ilQTIItem::$suggested_solutions = [] |
Definition at line 88 of file class.ilQTIItem.php.
| string ilQTIItem::$title = '' |
Definition at line 67 of file class.ilQTIItem.php.
Referenced by getTitle().
| string ilQTIItem::$xmllang = null |
Definition at line 70 of file class.ilQTIItem.php.
Referenced by getXmllang().
| const ilQTIItem::QT_CLOZE = "assClozeTest" |
Definition at line 36 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag().
| const ilQTIItem::QT_ERRORTEXT = "assErrorText" |
Definition at line 37 of file class.ilQTIItem.php.
| const ilQTIItem::QT_FILEUPLOAD = "assFileUpload" |
Definition at line 43 of file class.ilQTIItem.php.
| const ilQTIItem::QT_FORMULA = "assFormulaQuestion" |
Definition at line 45 of file class.ilQTIItem.php.
| const ilQTIItem::QT_IMAGEMAP = "assImagemapQuestion" |
Definition at line 41 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag().
| const ilQTIItem::QT_KPRIM_CHOICE = "assKprimChoice" |
Definition at line 32 of file class.ilQTIItem.php.
| const ilQTIItem::QT_LONG_MENU = "assLongMenu" |
Definition at line 33 of file class.ilQTIItem.php.
| const ilQTIItem::QT_MATCHING = "assMatchingQuestion" |
Definition at line 38 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag().
| const ilQTIItem::QT_MULTIPLE_CHOICE_MR = "assMultipleChoice" |
Definition at line 35 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag().
| const ilQTIItem::QT_MULTIPLE_CHOICE_SR = "assSingleChoice" |
Definition at line 34 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag().
| const ilQTIItem::QT_NUMERIC = "assNumeric" |
Definition at line 44 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag().
| const ilQTIItem::QT_ORDERING = "assOrderingQuestion" |
Definition at line 39 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag().
| const ilQTIItem::QT_ORDERING_HORIZONTAL = "assOrderingHorizontal" |
Definition at line 40 of file class.ilQTIItem.php.
| const ilQTIItem::QT_TEXT = "assTextQuestion" |
Definition at line 42 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag().
| const ilQTIItem::QT_TEXTSUBSET = "assTextSubset" |
Definition at line 46 of file class.ilQTIItem.php.
| const ilQTIItem::QT_UNKNOWN = "unknown" |
Definition at line 31 of file class.ilQTIItem.php.
|
private |
Definition at line 48 of file class.ilQTIItem.php.