ILIAS
release_8 Revision v8.23
|
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) | |
Definition at line 30 of file class.ilQTIItem.php.
ilQTIItem::addItemfeedback | ( | ilQTIItemfeedback | $a_itemfeedback | ) |
Definition at line 158 of file class.ilQTIItem.php.
ilQTIItem::addMetadata | ( | array | $a_metadata | ) |
array{label | string, entry: string} $a_metadata |
Definition at line 303 of file class.ilQTIItem.php.
ilQTIItem::addPresentationitem | ( | $a_presentationitem | ) |
ilQTIResponse | ilQTIMaterial | null | $a_presentationitem |
Definition at line 216 of file class.ilQTIItem.php.
ilQTIItem::addResprocessing | ( | ilQTIResprocessing | $a_resprocessing | ) |
Definition at line 153 of file class.ilQTIItem.php.
ilQTIItem::addSuggestedSolution | ( | ilQTIMattext | $a_solution, |
int | $a_gap_index | ||
) |
Definition at line 295 of file class.ilQTIItem.php.
ilQTIItem::determineQuestionType | ( | ) |
Definition at line 221 of file class.ilQTIItem.php.
References $questiontype, and typeFromResponse().
ilQTIItem::getAuthor | ( | ) |
ilQTIItem::getComment | ( | ) |
ilQTIItem::getDuration | ( | ) |
Definition at line 138 of file class.ilQTIItem.php.
References $duration.
ilQTIItem::getIdent | ( | ) |
ilQTIItem::getIliasSourceNic | ( | ) |
ilQTIItem::getIliasSourceVersion | ( | ) |
ilQTIItem::getLabel | ( | ) |
ilQTIItem::getMaxattempts | ( | ) |
ilQTIItem::getMetadata | ( | ) |
ilQTIItem::getMetadataEntry | ( | string | $a_label | ) |
Definition at line 313 of file class.ilQTIItem.php.
Referenced by assQuestionImport\addGeneralMetadata(), and assQuestionImport\fetchLifecycle().
ilQTIItem::getPresentation | ( | ) |
Definition at line 198 of file class.ilQTIItem.php.
References $presentation.
ilQTIItem::getQuestiontext | ( | ) |
Definition at line 148 of file class.ilQTIItem.php.
References $questiontext.
ilQTIItem::getQuestiontype | ( | ) |
Definition at line 208 of file class.ilQTIItem.php.
References $questiontype.
Referenced by ilAsqService\determineQuestionTypeByQtiItem().
ilQTIItem::getTitle | ( | ) |
ilQTIItem::getXmllang | ( | ) |
ilQTIItem::setAuthor | ( | string | $a_author | ) |
Definition at line 265 of file class.ilQTIItem.php.
ilQTIItem::setComment | ( | string | $a_comment | ) |
Definition at line 100 of file class.ilQTIItem.php.
References ILIAS\UI\examples\Symbol\Glyph\Comment\comment().
ilQTIItem::setDuration | ( | string | $a_duration | ) |
Definition at line 124 of file class.ilQTIItem.php.
ilQTIItem::setIdent | ( | string | $a_ident | ) |
Definition at line 80 of file class.ilQTIItem.php.
ilQTIItem::setIliasSourceNic | ( | ?string | $iliasSourceNic | ) |
ilQTIItem::setIliasSourceVersion | ( | ?string | $iliasSourceVersion | ) |
Definition at line 280 of file class.ilQTIItem.php.
ilQTIItem::setLabel | ( | string | $a_label | ) |
Definition at line 173 of file class.ilQTIItem.php.
ilQTIItem::setMaxattempts | ( | string | $a_maxattempts | ) |
Definition at line 163 of file class.ilQTIItem.php.
ilQTIItem::setPresentation | ( | ilQTIPresentation | $a_presentation | ) |
Definition at line 193 of file class.ilQTIItem.php.
ilQTIItem::setQuestiontext | ( | ilQTIMaterial | $a_questiontext | ) |
Definition at line 143 of file class.ilQTIItem.php.
ilQTIItem::setQuestiontype | ( | string | $a_questiontype | ) |
Definition at line 203 of file class.ilQTIItem.php.
ilQTIItem::setTitle | ( | string | $a_title | ) |
Definition at line 90 of file class.ilQTIItem.php.
ilQTIItem::setXmllang | ( | string | $a_xmllang | ) |
Definition at line 183 of file class.ilQTIItem.php.
|
private |
Definition at line 323 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().
string ilQTIItem::$author = '' |
Definition at line 56 of file class.ilQTIItem.php.
Referenced by getAuthor().
string ilQTIItem::$comment = '' |
Definition at line 54 of file class.ilQTIItem.php.
Referenced by getComment().
array ilQTIItem::$duration = null |
Definition at line 59 of file class.ilQTIItem.php.
Referenced by getDuration().
string ilQTIItem::$ident = null |
Definition at line 49 of file class.ilQTIItem.php.
Referenced by getIdent().
string ilQTIItem::$ilias_version = null |
Definition at line 55 of file class.ilQTIItem.php.
|
protected |
Definition at line 77 of file class.ilQTIItem.php.
Referenced by getIliasSourceNic(), and setIliasSourceNic().
|
protected |
Definition at line 76 of file class.ilQTIItem.php.
Referenced by getIliasSourceVersion().
array ilQTIItem::$itemfeedback = [] |
Definition at line 64 of file class.ilQTIItem.php.
array ilQTIItem::$itemmetadata = [] |
Definition at line 75 of file class.ilQTIItem.php.
Referenced by getMetadata().
string ilQTIItem::$label = null |
Definition at line 52 of file class.ilQTIItem.php.
Referenced by getLabel().
string ilQTIItem::$maxattempts = '' |
Definition at line 51 of file class.ilQTIItem.php.
Referenced by getMaxattempts().
ilQTIPresentation ilQTIItem::$presentation = null |
Definition at line 65 of file class.ilQTIItem.php.
Referenced by getPresentation().
array ilQTIItem::$presentationitem = [] |
Definition at line 67 of file class.ilQTIItem.php.
ilQTIMaterial ilQTIItem::$questiontext = null |
Definition at line 60 of file class.ilQTIItem.php.
Referenced by getQuestiontext().
string ilQTIItem::$questiontype = null |
Definition at line 57 of file class.ilQTIItem.php.
Referenced by determineQuestionType(), and getQuestiontype().
|
protected |
Definition at line 78 of file class.ilQTIItem.php.
array ilQTIItem::$resprocessing = [] |
Definition at line 62 of file class.ilQTIItem.php.
array ilQTIItem::$suggested_solutions = [] |
Definition at line 71 of file class.ilQTIItem.php.
string ilQTIItem::$title = '' |
Definition at line 50 of file class.ilQTIItem.php.
Referenced by getTitle().
string ilQTIItem::$xmllang = null |
Definition at line 53 of file class.ilQTIItem.php.
Referenced by getXmllang().
const ilQTIItem::QT_CLOZE = "assClozeTest" |
Definition at line 37 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag(), and ilObjTestGUI\uploadTst().
const ilQTIItem::QT_ERRORTEXT = "assErrorText" |
Definition at line 38 of file class.ilQTIItem.php.
Referenced by ilObjTestGUI\uploadTst().
const ilQTIItem::QT_FILEUPLOAD = "assFileUpload" |
Definition at line 44 of file class.ilQTIItem.php.
Referenced by ilObjTestGUI\uploadTst().
const ilQTIItem::QT_FORMULA = "assFormulaQuestion" |
Definition at line 46 of file class.ilQTIItem.php.
Referenced by ilObjTestGUI\uploadTst().
const ilQTIItem::QT_IMAGEMAP = "assImagemapQuestion" |
Definition at line 42 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag(), and ilObjTestGUI\uploadTst().
const ilQTIItem::QT_KPRIM_CHOICE = "assKprimChoice" |
Definition at line 33 of file class.ilQTIItem.php.
Referenced by ilObjTestGUI\uploadTst().
const ilQTIItem::QT_LONG_MENU = "assLongMenu" |
Definition at line 34 of file class.ilQTIItem.php.
Referenced by ilObjTestGUI\uploadTst().
const ilQTIItem::QT_MATCHING = "assMatchingQuestion" |
Definition at line 39 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag(), and ilObjTestGUI\uploadTst().
const ilQTIItem::QT_MULTIPLE_CHOICE_MR = "assMultipleChoice" |
Definition at line 36 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag(), and ilObjTestGUI\uploadTst().
const ilQTIItem::QT_MULTIPLE_CHOICE_SR = "assSingleChoice" |
Definition at line 35 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag(), and ilObjTestGUI\uploadTst().
const ilQTIItem::QT_NUMERIC = "assNumeric" |
Definition at line 45 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag(), and ilObjTestGUI\uploadTst().
const ilQTIItem::QT_ORDERING = "assOrderingQuestion" |
Definition at line 40 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag(), and ilObjTestGUI\uploadTst().
const ilQTIItem::QT_ORDERING_HORIZONTAL = "assOrderingHorizontal" |
Definition at line 41 of file class.ilQTIItem.php.
Referenced by ilObjTestGUI\uploadTst().
const ilQTIItem::QT_TEXT = "assTextQuestion" |
Definition at line 43 of file class.ilQTIItem.php.
Referenced by ilQTIParser\handlerVerifyBeginTag(), and ilObjTestGUI\uploadTst().
const ilQTIItem::QT_TEXTSUBSET = "assTextSubset" |
Definition at line 47 of file class.ilQTIItem.php.
Referenced by ilObjTestGUI\uploadTst().
const ilQTIItem::QT_UNKNOWN = "unknown" |
Definition at line 32 of file class.ilQTIItem.php.