ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
isSaveableInPageObjectEditingMode () | |
completeSpecificFormProperties (ilPropertyFormGUI $form) | |
initSpecificFormProperties (ilPropertyFormGUI $form) | |
saveSpecificFormProperties (ilPropertyFormGUI $form) | |
isSpecificAnswerFeedbackAvailable (int $question_id) | |
determineTestOutputGapFeedback (int $gapIndex, int $answerIndex) | |
determineAnswerIndexForAnswerValue (assClozeGap $gap, string $answerValue) | |
![]() | |
getSpecificAnswerFeedbackTestPresentation (int $questionId, int $questionIndex, int $answerIndex) | |
returns the html of SPECIFIC feedback for the given question id and answer index for test presentation More... | |
completeSpecificFormProperties (ilPropertyFormGUI $form) | |
completes a given form object with the specific form properties required by this question type More... | |
initSpecificFormProperties (ilPropertyFormGUI $form) | |
initialises a given form object's specific form properties relating to this question type More... | |
saveSpecificFormProperties (ilPropertyFormGUI $form) | |
getSpecificAnswerFeedbackContent (int $questionId, int $questionIndex, int $answerIndex) | |
getAllSpecificAnswerFeedbackContents (int $questionId) | |
saveSpecificAnswerFeedbackContent (int $questionId, int $questionIndex, int $answerIndex, string $feedbackContent) | |
deleteSpecificAnswerFeedbacks (int $questionId, bool $isAdditionalContentEditingModePageObject) | |
getAnswerOptionsByAnswerIndex () | |
getSpecificAnswerFeedbackExportPresentation (int $questionId, int $questionIndex, int $answerIndex) | |
importSpecificAnswerFeedback (int $questionId, int $questionIndex, int $answerIndex, string $feedbackContent) | |
specificAnswerFeedbackExists () | |
![]() | |
__construct (assQuestion $questionOBJ, ilCtrl $ctrl, ilDBInterface $db, ilLanguage $lng) | |
constructor More... | |
getGenericFeedbackTestPresentation (int $questionId, bool $solutionCompleted) | |
returns the html of GENERIC feedback for the given question id for test presentation (either for the complete solution or for the incomplete solution) More... | |
getSpecificAnswerFeedbackTestPresentation (int $questionId, int $questionIndex, int $answerIndex) | |
returns the html of SPECIFIC feedback for the given question id and answer index for test presentation More... | |
completeGenericFormProperties (ilPropertyFormGUI $form) | |
completes a given form object with the GENERIC form properties required by all question types More... | |
completeSpecificFormProperties (ilPropertyFormGUI $form) | |
completes a given form object with the SPECIFIC form properties required by this question type More... | |
initGenericFormProperties (ilPropertyFormGUI $form) | |
initialises a given form object's GENERIC form properties relating to all question types More... | |
initSpecificFormProperties (ilPropertyFormGUI $form) | |
initialises a given form object's SPECIFIC form properties relating to this question type More... | |
saveGenericFormProperties (ilPropertyFormGUI $form) | |
saves a given form object's GENERIC form properties relating to all question types More... | |
saveSpecificFormProperties (ilPropertyFormGUI $form) | |
saves a given form object's SPECIFIC form properties relating to this question type More... | |
isSaveableInPageObjectEditingMode () | |
returns the fact wether the feedback editing form is saveable in page object editing or not. More... | |
getGenericFeedbackContent (int $questionId, bool $solutionCompleted) | |
returns the GENERIC feedback content for a given question state. More... | |
getSpecificAnswerFeedbackContent (int $questionId, int $questionIndex, int $answerIndex) | |
getAllSpecificAnswerFeedbackContents (int $questionId) | |
isSpecificAnswerFeedbackAvailable (int $questionId) | |
saveGenericFeedbackContent (int $questionId, bool $solutionCompleted, string $feedbackContent) | |
saves GENERIC feedback content for the given question id to the database. More... | |
saveSpecificAnswerFeedbackContent (int $questionId, int $questionIndex, int $answerIndex, string $feedbackContent) | |
deleteGenericFeedbacks (int $questionId, bool $isAdditionalContentEditingModePageObject) | |
deletes all GENERIC feedback contents (and page objects if required) for the given question id More... | |
deleteSpecificAnswerFeedbacks (int $questionId, bool $isAdditionalContentEditingModePageObject) | |
duplicateFeedback (int $originalQuestionId, int $duplicateQuestionId) | |
duplicates the feedback relating to the given original question id and saves it for the given duplicate question id More... | |
syncFeedback (int $originalQuestionId, int $duplicateQuestionId) | |
syncs the feedback from a duplicated question back to the original question More... | |
checkFeedbackParent (int $feedbackId) | |
getClassNameByType (string $a_type, bool $a_gui=false) | |
setPageObjectOutputMode (string $page_obj_output_mode) | |
getPageObjectOutputMode () | |
getGenericFeedbackExportPresentation (int $questionId, bool $solutionCompleted) | |
returns the generic feedback export presentation for given question id either for solution completed or incompleted More... | |
getSpecificAnswerFeedbackExportPresentation (int $questionId, int $questionIndex, int $answerIndex) | |
returns the generic feedback export presentation for given question id either for solution completed or incompleted More... | |
importGenericFeedback (int $questionId, bool $solutionCompleted, string $feedbackContent) | |
imports the given feedback content as generic feedback for the given question id for either the complete or incomplete solution More... | |
importSpecificAnswerFeedback (int $questionId, int $questionIndex, int $answerIndex, string $feedbackContent) | |
migrateContentForLearningModule (ilAssSelfAssessmentMigrator $migrator, int $questionId) | |
Data Fields | |
const | FB_MODE_GAP_QUESTION = 'gapQuestion' |
constants for different feedback modes (per gap or per gap-answers/options) More... | |
const | FB_MODE_GAP_ANSWERS = 'gapAnswers' |
const | FB_TEXT_GAP_EMPTY_INDEX = -1 |
constants for answer indexes in case of FB_MODE_GAP_ANSWERS More... | |
const | FB_TEXT_GAP_NOMATCH_INDEX = -2 |
const | FB_SELECT_GAP_EMPTY_INDEX = -1 |
const | FB_NUMERIC_GAP_EMPTY_INDEX = -1 |
const | FB_NUMERIC_GAP_VALUE_HIT_INDEX = 0 |
const | FB_NUMERIC_GAP_RANGE_HIT_INDEX = 1 |
const | FB_NUMERIC_GAP_TOO_LOW_INDEX = 2 |
const | FB_NUMERIC_GAP_TOO_HIGH_INDEX = 3 |
const | SINGLE_GAP_FB_ANSWER_INDEX = -10 |
![]() | |
const | TABLE_NAME_SPECIFIC_FEEDBACK = 'qpl_fb_specific' |
table name for specific feedback More... | |
![]() | |
const | CSS_CLASS_FEEDBACK_CORRECT = 'ilc_qfeedr_FeedbackRight' |
const | CSS_CLASS_FEEDBACK_WRONG = 'ilc_qfeedw_FeedbackWrong' |
const | PAGE_OBJECT_TYPE_GENERIC_FEEDBACK = 'qfbg' |
type for generic feedback page objects More... | |
const | PAGE_OBJECT_TYPE_SPECIFIC_FEEDBACK = 'qfbs' |
type for specific feedback page objects More... | |
const | FEEDBACK_SOLUTION_INCOMPLETE_PAGE_OBJECT_ID = 1 |
id for page object relating to generic incomplete solution feedback More... | |
const | FEEDBACK_SOLUTION_COMPLETE_PAGE_OBJECT_ID = 2 |
id for page object relating to generic complete solution feedback More... | |
const | TABLE_NAME_GENERIC_FEEDBACK = 'qpl_fb_generic' |
Protected Member Functions | |
buildGapFeedbackLabel (int $gapIndex, assClozeGap $gap) | |
builds an answer option label from given (mixed type) index and answer (overwrites parent method from ilAssMultiOptionQuestionFeedback) More... | |
buildTextGapGivenAnswerFeedbackLabel (int $gapIndex, assAnswerCloze $item) | |
buildTextGapWrongAnswerFeedbackLabel (int $gapIndex) | |
buildTextGapEmptyFeedbackLabel (int $gapIndex) | |
buildSelectGapOptionFeedbackLabel (int $gapIndex, assAnswerCloze $item) | |
buildSelectGapEmptyFeedbackLabel (int $gapIndex) | |
buildNumericGapValueHitFeedbackLabel (int $gapIndex) | |
buildNumericGapRangeHitFeedbackLabel (int $gapIndex) | |
buildNumericGapTooLowFeedbackLabel (int $gapIndex) | |
buildNumericGapTooHighFeedbackLabel (int $gapIndex) | |
buildNumericGapEmptyFeedbackLabel (int $gapIndex) | |
completeFormPropsForFeedbackModeGapQuestion (ilRadioOption $fbModeOpt) | |
completeFormPropsForFeedbackModeGapAnswers (ilRadioOption $fbModeOpt) | |
completeFbPropsForTextGap (ilRadioOption $fbModeOpt, assClozeGap $gap, int $gapIndex) | |
completeFbPropsForSelectGap (ilRadioOption $fbModeOpt, assClozeGap $gap, int $gapIndex) | |
completeFbPropsForNumericGap (ilRadioOption $fbModeOpt, assClozeGap $gap, int $gapIndex) | |
initFeedbackFieldsPerGapQuestion (ilPropertyFormGUI $form) | |
initFeedbackFieldsPerGapAnswers (ilPropertyFormGUI $form) | |
initFbPropsForTextGap (ilPropertyFormGUI $form, assClozeGap $gap, int $gapIndex) | |
initFbPropsForSelectGap (ilPropertyFormGUI $form, assClozeGap $gap, int $gapIndex) | |
initFbPropsForNumericGap (ilPropertyFormGUI $form, int $gapIndex, assClozeGap $gap) | |
saveFeedbackFieldsPerGapQuestion (ilPropertyFormGUI $form) | |
saveFeedbackFieldsPerGapAnswers (ilPropertyFormGUI $form) | |
saveFbPropsForTextGap (ilPropertyFormGUI $form, assClozeGap $gap, int $gapIndex) | |
saveFbPropsForSelectGap (ilPropertyFormGUI $form, assClozeGap $gap, int $gapIndex) | |
saveFbPropsForNumericGap (ilPropertyFormGUI $form, assClozeGap $gap, int $gapIndex) | |
duplicateSpecificFeedback (int $originalQuestionId, int $duplicateQuestionId) | |
syncSpecificFeedback (int $originalQuestionId, int $duplicateQuestionId) | |
saveSpecificFeedbackMode (int $questionId, string $feedbackMode) | |
saves the given specific feedback mode for the given question id to the db. More... | |
buildPostVarForFbFieldPerGapQuestion (int $gapIndex) | |
buildPostVarForFbFieldPerGapAnswers (int $gapIndex, int $answerIndex) | |
getSpecificAnswerFeedbackFormValue (int $gapIndex, int $answerIndex) | |
cleanupSpecificAnswerFeedbacks (string $fbMode) | |
fetchFeedbackIdsForGapQuestionMode () | |
fetchFeedbackIdsForGapAnswersMode () | |
deleteSpecificAnswerFeedbacksByIds (array $feedbackIds) | |
![]() | |
duplicateSpecificFeedback (int $originalQuestionId, int $duplicateQuestionId) | |
syncSpecificFeedback (int $originalQuestionId, int $duplicateQuestionId) | |
getSpecificAnswerFeedbackId (int $questionId, int $questionIndex, int $answerIndex) | |
getSpecificFeedbackContentForFeedbackIds (array $feedback_ids) | |
isSpecificAnswerFeedbackId (int $feedbackId) | |
getSpecificFeedbackTableName () | |
buildAnswerOptionLabel (int $index, $answer) | |
getSpecificAnswerFeedbackPageObjectId (int $questionId, int $questionIndex, int $answerIndex) | |
returns a useable page object id for specific answer feedback page objects for the given question id and answer index (using the id sequence of non page object specific answer feedback) More... | |
![]() | |
buildFeedbackContentFormProperty (string $label, string $postVar, bool $asNonEditable) | |
builds and returns a form property gui object with the given label and postvar that is addable to property forms depending on the given flag "asNonEditable" it returns a ... More... | |
duplicateSpecificFeedback (int $originalQuestionId, int $duplicateQuestionId) | |
duplicates the SPECIFIC feedback relating to the given original question id and saves it for the given duplicate question id More... | |
getGenericFeedbackId (int $questionId, bool $solutionCompleted) | |
returns the SPECIFIC answer feedback ID for a given question id and answer index. More... | |
isGenericFeedbackId (int $feedbackId) | |
isSpecificAnswerFeedbackId (int $feedbackId) | |
syncSpecificFeedback (int $originalQuestionId, int $duplicateQuestionId) | |
syncs the SPECIFIC feedback from a duplicated question back to the original question More... | |
getGenericFeedbackTableName () | |
getPageObjectNonEditableValueHTML (string $pageObjectType, int $pageObjectId) | |
returns html content to be used as value for non editable value form properties in feedback editing form More... | |
getPageObjectContent (string $pageObjectType, int $pageObjectId) | |
getPageObjectXML (string $pageObjectType, int $pageObjectId) | |
createPageObject (string $pageObjectType, int $pageObjectId, string $pageObjectContent) | |
duplicatePageObject (string $pageObjectType, int $originalPageObjectId, int $duplicatePageObjectId, int $duplicatePageObjectParentId) | |
ensurePageObjectDeleted (string $pageObjectType, int $pageObjectId) | |
getGenericFeedbackPageObjectType () | |
getSpecificAnswerFeedbackPageObjectType () | |
getGenericFeedbackPageObjectId (int $questionId, bool $solutionCompleted) | |
returns a useable page object id for generic feedback page objects for the given question id for either the complete or incomplete solution (using the id sequence of non page object generic feedback) More... | |
cleanupPageContent (string $content) | |
Private Member Functions | |
syncSpecificFeedbackSetting (int $sourceQuestionId, int $targetQuestionId) | |
randomGroup () | |
Additional Inherited Members | |
![]() | |
static | isValidFeedbackPageObjectType (string $feedbackPageObjectType) |
returns the fact whether the given page object type relates to generic or specific feedback page objects More... | |
![]() | |
assQuestion | $questionOBJ |
ilCtrl | $ctrl |
ilDBInterface | $db |
ilLanguage | $lng |
string | $page_obj_output_mode = "presentation" |
Definition at line 29 of file class.ilAssClozeTestFeedback.php.
|
protected |
builds an answer option label from given (mixed type) index and answer (overwrites parent method from ilAssMultiOptionQuestionFeedback)
Definition at line 60 of file class.ilAssClozeTestFeedback.php.
References assClozeGap\getItems(), ILIAS\Repository\lng(), and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by completeFormPropsForFeedbackModeGapQuestion().
|
protected |
Definition at line 130 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForNumericGap().
|
protected |
Definition at line 115 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForNumericGap().
|
protected |
Definition at line 125 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForNumericGap().
|
protected |
Definition at line 120 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForNumericGap().
|
protected |
Definition at line 110 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForNumericGap().
|
protected |
Definition at line 685 of file class.ilAssClozeTestFeedback.php.
Referenced by initFbPropsForNumericGap(), initFbPropsForSelectGap(), initFbPropsForTextGap(), saveFbPropsForNumericGap(), saveFbPropsForSelectGap(), and saveFbPropsForTextGap().
|
protected |
Definition at line 680 of file class.ilAssClozeTestFeedback.php.
Referenced by completeFormPropsForFeedbackModeGapQuestion(), initFeedbackFieldsPerGapQuestion(), and saveFeedbackFieldsPerGapQuestion().
|
protected |
Definition at line 105 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForSelectGap().
|
protected |
Definition at line 96 of file class.ilAssClozeTestFeedback.php.
References ASS_AnswerSimple\getAnswertext(), ILIAS\Repository\lng(), and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by completeFbPropsForSelectGap().
|
protected |
Definition at line 91 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForTextGap().
|
protected |
Definition at line 77 of file class.ilAssClozeTestFeedback.php.
References ASS_AnswerSimple\getAnswertext(), ILIAS\Repository\lng(), and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by completeFbPropsForTextGap().
|
protected |
Definition at line 86 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForTextGap().
|
protected |
Definition at line 712 of file class.ilAssClozeTestFeedback.php.
References deleteSpecificAnswerFeedbacksByIds(), fetchFeedbackIdsForGapAnswersMode(), and fetchFeedbackIdsForGapQuestionMode().
Referenced by saveSpecificFormProperties().
|
protected |
ilRadioOption | $fbModeOpt | |
assClozeGap | $gap | |
integer | $gapIndex |
Definition at line 287 of file class.ilAssClozeTestFeedback.php.
References ilRadioOption\addSubItem(), ilAssQuestionFeedback\buildFeedbackContentFormProperty(), buildNumericGapEmptyFeedbackLabel(), buildNumericGapRangeHitFeedbackLabel(), buildNumericGapTooHighFeedbackLabel(), buildNumericGapTooLowFeedbackLabel(), buildNumericGapValueHitFeedbackLabel(), and assClozeGap\numericRangeExists().
Referenced by completeFormPropsForFeedbackModeGapAnswers().
|
protected |
Definition at line 251 of file class.ilAssClozeTestFeedback.php.
References ilRadioOption\addSubItem(), ilAssQuestionFeedback\buildFeedbackContentFormProperty(), buildSelectGapEmptyFeedbackLabel(), buildSelectGapOptionFeedbackLabel(), and assClozeGap\getItems().
Referenced by completeFormPropsForFeedbackModeGapAnswers().
|
protected |
Definition at line 207 of file class.ilAssClozeTestFeedback.php.
References ilRadioOption\addSubItem(), ilAssQuestionFeedback\buildFeedbackContentFormProperty(), buildTextGapEmptyFeedbackLabel(), buildTextGapGivenAnswerFeedbackLabel(), buildTextGapWrongAnswerFeedbackLabel(), and assClozeGap\getItems().
Referenced by completeFormPropsForFeedbackModeGapAnswers().
|
protected |
Definition at line 185 of file class.ilAssClozeTestFeedback.php.
References completeFbPropsForNumericGap(), completeFbPropsForSelectGap(), completeFbPropsForTextGap(), assClozeGap\TYPE_NUMERIC, assClozeGap\TYPE_SELECT, and assClozeGap\TYPE_TEXT.
Referenced by completeSpecificFormProperties().
|
protected |
Definition at line 167 of file class.ilAssClozeTestFeedback.php.
References ilRadioOption\addSubItem(), ilAssQuestionFeedback\buildFeedbackContentFormProperty(), buildGapFeedbackLabel(), and buildPostVarForFbFieldPerGapQuestion().
Referenced by completeSpecificFormProperties().
ilAssClozeTestFeedback::completeSpecificFormProperties | ( | ilPropertyFormGUI | $form | ) |
Definition at line 135 of file class.ilAssClozeTestFeedback.php.
References ilPropertyFormGUI\addItem(), completeFormPropsForFeedbackModeGapAnswers(), completeFormPropsForFeedbackModeGapQuestion(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setRequired().
|
protected |
int[] | $feedbackIds |
Definition at line 798 of file class.ilAssClozeTestFeedback.php.
References ilAssQuestionFeedback\ensurePageObjectDeleted(), and ilAssQuestionFeedback\getSpecificAnswerFeedbackPageObjectType().
Referenced by cleanupSpecificAnswerFeedbacks().
ilAssClozeTestFeedback::determineAnswerIndexForAnswerValue | ( | assClozeGap | $gap, |
string | $answerValue | ||
) |
Definition at line 823 of file class.ilAssClozeTestFeedback.php.
References CLOZE_NUMERIC, CLOZE_SELECT, CLOZE_TEXT, assClozeGap\getItem(), assClozeGap\getItems(), assClozeGap\getType(), and randomGroup().
ilAssClozeTestFeedback::determineTestOutputGapFeedback | ( | int | $gapIndex, |
int | $answerIndex | ||
) |
Definition at line 810 of file class.ilAssClozeTestFeedback.php.
References ilAssMultiOptionQuestionFeedback\getSpecificAnswerFeedbackTestPresentation().
|
protected |
Definition at line 635 of file class.ilAssClozeTestFeedback.php.
References syncSpecificFeedbackSetting().
|
protected |
Definition at line 754 of file class.ilAssClozeTestFeedback.php.
Referenced by cleanupSpecificAnswerFeedbacks(), and isSpecificAnswerFeedbackAvailable().
|
protected |
Definition at line 732 of file class.ilAssClozeTestFeedback.php.
Referenced by cleanupSpecificAnswerFeedbacks(), and isSpecificAnswerFeedbackAvailable().
|
protected |
Definition at line 690 of file class.ilAssClozeTestFeedback.php.
References ilAssQuestionFeedback\getPageObjectNonEditableValueHTML(), ilAssMultiOptionQuestionFeedback\getSpecificAnswerFeedbackContent(), ilAssMultiOptionQuestionFeedback\getSpecificAnswerFeedbackPageObjectId(), and ilAssQuestionFeedback\getSpecificAnswerFeedbackPageObjectType().
Referenced by initFbPropsForNumericGap(), initFbPropsForSelectGap(), initFbPropsForTextGap(), and initFeedbackFieldsPerGapQuestion().
|
protected |
Definition at line 443 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), getSpecificAnswerFeedbackFormValue(), and assClozeGap\numericRangeExists().
Referenced by initFeedbackFieldsPerGapAnswers().
|
protected |
Definition at line 430 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\getItems(), and getSpecificAnswerFeedbackFormValue().
Referenced by initFeedbackFieldsPerGapAnswers().
|
protected |
Definition at line 413 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\getItems(), and getSpecificAnswerFeedbackFormValue().
Referenced by initFeedbackFieldsPerGapAnswers().
|
protected |
Definition at line 391 of file class.ilAssClozeTestFeedback.php.
References initFbPropsForNumericGap(), initFbPropsForSelectGap(), initFbPropsForTextGap(), assClozeGap\TYPE_NUMERIC, assClozeGap\TYPE_SELECT, and assClozeGap\TYPE_TEXT.
Referenced by initSpecificFormProperties().
|
protected |
Definition at line 383 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapQuestion(), ilPropertyFormGUI\getItemByPostVar(), and getSpecificAnswerFeedbackFormValue().
Referenced by initSpecificFormProperties().
ilAssClozeTestFeedback::initSpecificFormProperties | ( | ilPropertyFormGUI | $form | ) |
Definition at line 357 of file class.ilAssClozeTestFeedback.php.
References ilPropertyFormGUI\getItemByPostVar(), initFeedbackFieldsPerGapAnswers(), and initFeedbackFieldsPerGapQuestion().
ilAssClozeTestFeedback::isSaveableInPageObjectEditingMode | ( | ) |
Definition at line 51 of file class.ilAssClozeTestFeedback.php.
ilAssClozeTestFeedback::isSpecificAnswerFeedbackAvailable | ( | int | $question_id | ) |
Definition at line 773 of file class.ilAssClozeTestFeedback.php.
References fetchFeedbackIdsForGapAnswersMode(), fetchFeedbackIdsForGapQuestionMode(), ilAssQuestionFeedback\getPageObjectXML(), ilAssQuestionFeedback\getSpecificAnswerFeedbackPageObjectType(), and ilAssMultiOptionQuestionFeedback\getSpecificFeedbackContentForFeedbackIds().
|
private |
Definition at line 891 of file class.ilAssClozeTestFeedback.php.
References $DIC.
Referenced by determineAnswerIndexForAnswerValue().
|
protected |
Definition at line 585 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\numericRangeExists(), and ilAssMultiOptionQuestionFeedback\saveSpecificAnswerFeedbackContent().
Referenced by saveFeedbackFieldsPerGapAnswers().
|
protected |
Definition at line 562 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\getItems(), and ilAssMultiOptionQuestionFeedback\saveSpecificAnswerFeedbackContent().
Referenced by saveFeedbackFieldsPerGapAnswers().
|
protected |
Definition at line 530 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\getItems(), and ilAssMultiOptionQuestionFeedback\saveSpecificAnswerFeedbackContent().
Referenced by saveFeedbackFieldsPerGapAnswers().
|
protected |
Definition at line 508 of file class.ilAssClozeTestFeedback.php.
References saveFbPropsForNumericGap(), saveFbPropsForSelectGap(), saveFbPropsForTextGap(), assClozeGap\TYPE_NUMERIC, assClozeGap\TYPE_SELECT, and assClozeGap\TYPE_TEXT.
Referenced by saveSpecificFormProperties().
|
protected |
Definition at line 493 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapQuestion(), ilPropertyFormGUI\getItemByPostVar(), and ilAssMultiOptionQuestionFeedback\saveSpecificAnswerFeedbackContent().
Referenced by saveSpecificFormProperties().
|
protected |
saves the given specific feedback mode for the given question id to the db.
(It's stored to dataset of question itself)
Definition at line 669 of file class.ilAssClozeTestFeedback.php.
Referenced by saveSpecificFormProperties().
ilAssClozeTestFeedback::saveSpecificFormProperties | ( | ilPropertyFormGUI | $form | ) |
Definition at line 468 of file class.ilAssClozeTestFeedback.php.
References cleanupSpecificAnswerFeedbacks(), ilPropertyFormGUI\getItemByPostVar(), saveFeedbackFieldsPerGapAnswers(), saveFeedbackFieldsPerGapQuestion(), and saveSpecificFeedbackMode().
|
protected |
Definition at line 659 of file class.ilAssClozeTestFeedback.php.
References syncSpecificFeedbackSetting().
|
private |
Definition at line 642 of file class.ilAssClozeTestFeedback.php.
References $res.
Referenced by duplicateSpecificFeedback(), and syncSpecificFeedback().
const ilAssClozeTestFeedback::FB_MODE_GAP_ANSWERS = 'gapAnswers' |
Definition at line 35 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_MODE_GAP_QUESTION = 'gapQuestion' |
constants for different feedback modes (per gap or per gap-answers/options)
Definition at line 34 of file class.ilAssClozeTestFeedback.php.
Referenced by assClozeTestImport\fromXML(), and assClozeTest\loadFromDb().
const ilAssClozeTestFeedback::FB_NUMERIC_GAP_EMPTY_INDEX = -1 |
Definition at line 43 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_NUMERIC_GAP_RANGE_HIT_INDEX = 1 |
Definition at line 45 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_NUMERIC_GAP_TOO_HIGH_INDEX = 3 |
Definition at line 47 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_NUMERIC_GAP_TOO_LOW_INDEX = 2 |
Definition at line 46 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_NUMERIC_GAP_VALUE_HIT_INDEX = 0 |
Definition at line 44 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_SELECT_GAP_EMPTY_INDEX = -1 |
Definition at line 42 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_TEXT_GAP_EMPTY_INDEX = -1 |
constants for answer indexes in case of FB_MODE_GAP_ANSWERS
Definition at line 40 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_TEXT_GAP_NOMATCH_INDEX = -2 |
Definition at line 41 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::SINGLE_GAP_FB_ANSWER_INDEX = -10 |
Definition at line 49 of file class.ilAssClozeTestFeedback.php.