|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilAssClozeTestFeedback:
Collaboration diagram for ilAssClozeTestFeedback:Public Member Functions | |
| isSaveableInPageObjectEditingMode () | |
| returns the fact wether the feedback editing form is saveable in page object editing or not. 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) | |
| saves a given form object's SPECIFIC form properties relating to this question type More... | |
| isSpecificAnswerFeedbackAvailable (int $question_id) | |
| determineTestOutputGapFeedback (int $gapIndex, int $answerIndex) | |
| determineAnswerIndexForAnswerValue (assClozeGap $gap, string $answerValue) | |
Public Member Functions inherited from ilAssMultiOptionQuestionFeedback | |
| 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) | |
| saves a given form object's SPECIFIC form properties relating to this question type More... | |
| 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) | |
| returns the generic feedback export presentation for given question id either for solution completed or incompleted More... | |
| importSpecificAnswerFeedback (int $questionId, int $questionIndex, int $answerIndex, string $feedbackContent) | |
| specificAnswerFeedbackExists () | |
Public Member Functions inherited from ilAssQuestionFeedback | |
| __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 |
Data Fields inherited from ilAssMultiOptionQuestionFeedback | |
| const | TABLE_NAME_SPECIFIC_FEEDBACK = 'qpl_fb_specific' |
| table name for specific feedback More... | |
Data Fields inherited from ilAssQuestionFeedback | |
| 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) | |
| duplicates the SPECIFIC feedback relating to the given original question id and saves it for the given duplicate question id More... | |
| syncSpecificFeedback (int $originalQuestionId, int $duplicateQuestionId) | |
| syncs the SPECIFIC feedback from a duplicated question back to the original question More... | |
| 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) | |
Protected Member Functions inherited from ilAssMultiOptionQuestionFeedback | |
| 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... | |
| syncSpecificFeedback (int $originalQuestionId, int $duplicateQuestionId) | |
| syncs the SPECIFIC feedback from a duplicated question back to the original question More... | |
| 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... | |
Protected Member Functions inherited from ilAssQuestionFeedback | |
| 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 Public Member Functions inherited from ilAssQuestionFeedback | |
| static | isValidFeedbackPageObjectType (string $feedbackPageObjectType) |
| returns the fact whether the given page object type relates to generic or specific feedback page objects More... | |
Protected Attributes inherited from ilAssQuestionFeedback | |
| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 130 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForNumericGap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 115 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForNumericGap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 125 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForNumericGap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 120 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForNumericGap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 110 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForNumericGap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 685 of file class.ilAssClozeTestFeedback.php.
Referenced by initFbPropsForNumericGap(), initFbPropsForSelectGap(), initFbPropsForTextGap(), saveFbPropsForNumericGap(), saveFbPropsForSelectGap(), and saveFbPropsForTextGap().
Here is the caller graph for this function:
|
protected |
Definition at line 680 of file class.ilAssClozeTestFeedback.php.
Referenced by completeFormPropsForFeedbackModeGapQuestion(), initFeedbackFieldsPerGapQuestion(), and saveFeedbackFieldsPerGapQuestion().
Here is the caller graph for this function:
|
protected |
Definition at line 105 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForSelectGap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 96 of file class.ilAssClozeTestFeedback.php.
References ASS_AnswerSimple\getAnswertext(), ILIAS\Repository\lng(), and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by completeFbPropsForSelectGap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 91 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForTextGap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 77 of file class.ilAssClozeTestFeedback.php.
References ASS_AnswerSimple\getAnswertext(), ILIAS\Repository\lng(), and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by completeFbPropsForTextGap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 86 of file class.ilAssClozeTestFeedback.php.
References ILIAS\Repository\lng().
Referenced by completeFbPropsForTextGap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 712 of file class.ilAssClozeTestFeedback.php.
References deleteSpecificAnswerFeedbacksByIds(), FB_MODE_GAP_ANSWERS, FB_MODE_GAP_QUESTION, fetchFeedbackIdsForGapAnswersMode(), and fetchFeedbackIdsForGapQuestionMode().
Referenced by saveSpecificFormProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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(), FB_NUMERIC_GAP_EMPTY_INDEX, FB_NUMERIC_GAP_RANGE_HIT_INDEX, FB_NUMERIC_GAP_TOO_HIGH_INDEX, FB_NUMERIC_GAP_TOO_LOW_INDEX, FB_NUMERIC_GAP_VALUE_HIT_INDEX, and assClozeGap\numericRangeExists().
Referenced by completeFormPropsForFeedbackModeGapAnswers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 251 of file class.ilAssClozeTestFeedback.php.
References ilRadioOption\addSubItem(), ilAssQuestionFeedback\buildFeedbackContentFormProperty(), buildSelectGapEmptyFeedbackLabel(), buildSelectGapOptionFeedbackLabel(), FB_SELECT_GAP_EMPTY_INDEX, and assClozeGap\getItems().
Referenced by completeFormPropsForFeedbackModeGapAnswers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 207 of file class.ilAssClozeTestFeedback.php.
References ilRadioOption\addSubItem(), ilAssQuestionFeedback\buildFeedbackContentFormProperty(), buildTextGapEmptyFeedbackLabel(), buildTextGapGivenAnswerFeedbackLabel(), buildTextGapWrongAnswerFeedbackLabel(), FB_TEXT_GAP_EMPTY_INDEX, FB_TEXT_GAP_NOMATCH_INDEX, and assClozeGap\getItems().
Referenced by completeFormPropsForFeedbackModeGapAnswers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 167 of file class.ilAssClozeTestFeedback.php.
References ilRadioOption\addSubItem(), ilAssQuestionFeedback\buildFeedbackContentFormProperty(), buildGapFeedbackLabel(), and buildPostVarForFbFieldPerGapQuestion().
Referenced by completeSpecificFormProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssClozeTestFeedback::completeSpecificFormProperties | ( | ilPropertyFormGUI | $form | ) |
completes a given form object with the specific form properties required by this question type
Reimplemented from ilAssMultiOptionQuestionFeedback.
Definition at line 135 of file class.ilAssClozeTestFeedback.php.
References ilPropertyFormGUI\addItem(), completeFormPropsForFeedbackModeGapAnswers(), completeFormPropsForFeedbackModeGapQuestion(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
| int[] | $feedbackIds |
Definition at line 798 of file class.ilAssClozeTestFeedback.php.
References ilAssQuestionFeedback\ensurePageObjectDeleted(), and ilAssQuestionFeedback\getSpecificAnswerFeedbackPageObjectType().
Referenced by cleanupSpecificAnswerFeedbacks().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssClozeTestFeedback::determineAnswerIndexForAnswerValue | ( | assClozeGap | $gap, |
| string | $answerValue | ||
| ) |
Definition at line 823 of file class.ilAssClozeTestFeedback.php.
References CLOZE_NUMERIC, CLOZE_SELECT, CLOZE_TEXT, FB_NUMERIC_GAP_EMPTY_INDEX, FB_NUMERIC_GAP_RANGE_HIT_INDEX, FB_NUMERIC_GAP_TOO_HIGH_INDEX, FB_NUMERIC_GAP_TOO_LOW_INDEX, FB_NUMERIC_GAP_VALUE_HIT_INDEX, FB_SELECT_GAP_EMPTY_INDEX, FB_TEXT_GAP_EMPTY_INDEX, FB_TEXT_GAP_NOMATCH_INDEX, assClozeGap\getItem(), assClozeGap\getItems(), assClozeGap\getType(), and randomGroup().
Here is the call graph for this function:| ilAssClozeTestFeedback::determineTestOutputGapFeedback | ( | int | $gapIndex, |
| int | $answerIndex | ||
| ) |
Definition at line 810 of file class.ilAssClozeTestFeedback.php.
References ilAssMultiOptionQuestionFeedback\getSpecificAnswerFeedbackTestPresentation().
Here is the call graph for this function:
|
protected |
duplicates the SPECIFIC feedback relating to the given original question id and saves it for the given duplicate question id
Reimplemented from ilAssMultiOptionQuestionFeedback.
Definition at line 635 of file class.ilAssClozeTestFeedback.php.
References syncSpecificFeedbackSetting().
Here is the call graph for this function:
|
protected |
Definition at line 754 of file class.ilAssClozeTestFeedback.php.
Referenced by cleanupSpecificAnswerFeedbacks(), and isSpecificAnswerFeedbackAvailable().
Here is the caller graph for this function:
|
protected |
Definition at line 732 of file class.ilAssClozeTestFeedback.php.
Referenced by cleanupSpecificAnswerFeedbacks(), and isSpecificAnswerFeedbackAvailable().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 443 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), getSpecificAnswerFeedbackFormValue(), and assClozeGap\numericRangeExists().
Referenced by initFeedbackFieldsPerGapAnswers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 430 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\getItems(), and getSpecificAnswerFeedbackFormValue().
Referenced by initFeedbackFieldsPerGapAnswers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 413 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\getItems(), and getSpecificAnswerFeedbackFormValue().
Referenced by initFeedbackFieldsPerGapAnswers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 383 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapQuestion(), ilPropertyFormGUI\getItemByPostVar(), and getSpecificAnswerFeedbackFormValue().
Referenced by initSpecificFormProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssClozeTestFeedback::initSpecificFormProperties | ( | ilPropertyFormGUI | $form | ) |
initialises a given form object's specific form properties relating to this question type
Reimplemented from ilAssMultiOptionQuestionFeedback.
Definition at line 357 of file class.ilAssClozeTestFeedback.php.
References FB_MODE_GAP_ANSWERS, FB_MODE_GAP_QUESTION, ilPropertyFormGUI\getItemByPostVar(), initFeedbackFieldsPerGapAnswers(), and initFeedbackFieldsPerGapQuestion().
Here is the call graph for this function:| ilAssClozeTestFeedback::isSaveableInPageObjectEditingMode | ( | ) |
returns the fact wether the feedback editing form is saveable in page object editing or not.
by default all properties are edited as page object unless there are additional settings (this method can be overwritten per question type if required)
Reimplemented from ilAssQuestionFeedback.
Definition at line 51 of file class.ilAssClozeTestFeedback.php.
| ilAssClozeTestFeedback::isSpecificAnswerFeedbackAvailable | ( | int | $question_id | ) |
Reimplemented from ilAssQuestionFeedback.
Definition at line 773 of file class.ilAssClozeTestFeedback.php.
References fetchFeedbackIdsForGapAnswersMode(), fetchFeedbackIdsForGapQuestionMode(), ilAssQuestionFeedback\getPageObjectXML(), ilAssQuestionFeedback\getSpecificAnswerFeedbackPageObjectType(), and ilAssMultiOptionQuestionFeedback\getSpecificFeedbackContentForFeedbackIds().
Here is the call graph for this function:
|
private |
Definition at line 891 of file class.ilAssClozeTestFeedback.php.
References $DIC.
Referenced by determineAnswerIndexForAnswerValue().
Here is the caller graph for this function:
|
protected |
Definition at line 585 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\numericRangeExists(), and ilAssMultiOptionQuestionFeedback\saveSpecificAnswerFeedbackContent().
Referenced by saveFeedbackFieldsPerGapAnswers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 562 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\getItems(), and ilAssMultiOptionQuestionFeedback\saveSpecificAnswerFeedbackContent().
Referenced by saveFeedbackFieldsPerGapAnswers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 530 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\getItems(), and ilAssMultiOptionQuestionFeedback\saveSpecificAnswerFeedbackContent().
Referenced by saveFeedbackFieldsPerGapAnswers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 493 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapQuestion(), ilPropertyFormGUI\getItemByPostVar(), and ilAssMultiOptionQuestionFeedback\saveSpecificAnswerFeedbackContent().
Referenced by saveSpecificFormProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:| ilAssClozeTestFeedback::saveSpecificFormProperties | ( | ilPropertyFormGUI | $form | ) |
saves a given form object's SPECIFIC form properties relating to this question type
Reimplemented from ilAssMultiOptionQuestionFeedback.
Definition at line 468 of file class.ilAssClozeTestFeedback.php.
References cleanupSpecificAnswerFeedbacks(), FB_MODE_GAP_ANSWERS, FB_MODE_GAP_QUESTION, ilPropertyFormGUI\getItemByPostVar(), saveFeedbackFieldsPerGapAnswers(), saveFeedbackFieldsPerGapQuestion(), and saveSpecificFeedbackMode().
Here is the call graph for this function:
|
protected |
syncs the SPECIFIC feedback from a duplicated question back to the original question
Reimplemented from ilAssMultiOptionQuestionFeedback.
Definition at line 659 of file class.ilAssClozeTestFeedback.php.
References syncSpecificFeedbackSetting().
Here is the call graph for this function:
|
private |
Definition at line 642 of file class.ilAssClozeTestFeedback.php.
References $res.
Referenced by duplicateSpecificFeedback(), and syncSpecificFeedback().
Here is the caller graph for this function:| const ilAssClozeTestFeedback::FB_MODE_GAP_ANSWERS = 'gapAnswers' |
Definition at line 35 of file class.ilAssClozeTestFeedback.php.
Referenced by cleanupSpecificAnswerFeedbacks(), initSpecificFormProperties(), and saveSpecificFormProperties().
| 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 cleanupSpecificAnswerFeedbacks(), assClozeTestImport\fromXML(), initSpecificFormProperties(), assClozeTest\loadFromDb(), and saveSpecificFormProperties().
| const ilAssClozeTestFeedback::FB_NUMERIC_GAP_EMPTY_INDEX = -1 |
Definition at line 43 of file class.ilAssClozeTestFeedback.php.
Referenced by completeFbPropsForNumericGap(), and determineAnswerIndexForAnswerValue().
| const ilAssClozeTestFeedback::FB_NUMERIC_GAP_RANGE_HIT_INDEX = 1 |
Definition at line 45 of file class.ilAssClozeTestFeedback.php.
Referenced by completeFbPropsForNumericGap(), and determineAnswerIndexForAnswerValue().
| const ilAssClozeTestFeedback::FB_NUMERIC_GAP_TOO_HIGH_INDEX = 3 |
Definition at line 47 of file class.ilAssClozeTestFeedback.php.
Referenced by completeFbPropsForNumericGap(), and determineAnswerIndexForAnswerValue().
| const ilAssClozeTestFeedback::FB_NUMERIC_GAP_TOO_LOW_INDEX = 2 |
Definition at line 46 of file class.ilAssClozeTestFeedback.php.
Referenced by completeFbPropsForNumericGap(), and determineAnswerIndexForAnswerValue().
| const ilAssClozeTestFeedback::FB_NUMERIC_GAP_VALUE_HIT_INDEX = 0 |
Definition at line 44 of file class.ilAssClozeTestFeedback.php.
Referenced by completeFbPropsForNumericGap(), and determineAnswerIndexForAnswerValue().
| const ilAssClozeTestFeedback::FB_SELECT_GAP_EMPTY_INDEX = -1 |
Definition at line 42 of file class.ilAssClozeTestFeedback.php.
Referenced by completeFbPropsForSelectGap(), and determineAnswerIndexForAnswerValue().
| 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.
Referenced by completeFbPropsForTextGap(), and determineAnswerIndexForAnswerValue().
| const ilAssClozeTestFeedback::FB_TEXT_GAP_NOMATCH_INDEX = -2 |
Definition at line 41 of file class.ilAssClozeTestFeedback.php.
Referenced by completeFbPropsForTextGap(), and determineAnswerIndexForAnswerValue().
| const ilAssClozeTestFeedback::SINGLE_GAP_FB_ANSWER_INDEX = -10 |
Definition at line 49 of file class.ilAssClozeTestFeedback.php.