ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
isSaveableInPageObjectEditingMode () | |
completeSpecificFormProperties (ilPropertyFormGUI $form) | |
initSpecificFormProperties (ilPropertyFormGUI $form) | |
saveSpecificFormProperties (ilPropertyFormGUI $form) | |
determineTestOutputGapFeedback ($gapIndex, $answerIndex) | |
determineAnswerIndexForAnswerValue (assClozeGap $gap, $answerValue) | |
Public Member Functions inherited from ilAssMultiOptionQuestionFeedback | |
getSpecificAnswerFeedbackTestPresentation ($questionId, $questionIndex, $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 ($questionId, $questionIndex, $answerIndex) | |
returns the SPECIFIC answer feedback content for a given question id and answer index. More... | |
getAllSpecificAnswerFeedbackContents ($questionId) | |
returns the SPECIFIC feedback content for a given question id and answer index. More... | |
saveSpecificAnswerFeedbackContent ($questionId, $questionIndex, $answerIndex, $feedbackContent) | |
saves SPECIFIC answer feedback content for the given question id and answer index to the database. More... | |
deleteSpecificAnswerFeedbacks ($questionId, $isAdditionalContentEditingModePageObject) | |
deletes all SPECIFIC answer feedback contents (and page objects if required) for the given question id More... | |
getAnswerOptionsByAnswerIndex () | |
returns the answer options mapped by answer index (can be overwritten by concrete question type class) More... | |
getSpecificAnswerFeedbackExportPresentation ($questionId, $questionIndex, $answerIndex) | |
returns the generic feedback export presentation for given question id either for solution completed or incompleted More... | |
importSpecificAnswerFeedback ($questionId, $questionIndex, $answerIndex, $feedbackContent) | |
imports the given feedback content as specific feedback for the given question id and answer index More... | |
specificAnswerFeedbackExists () | |
Public Member Functions inherited from ilAssQuestionFeedback | |
__construct (assQuestion $questionOBJ, ilCtrl $ctrl, ilDBInterface $db, ilLanguage $lng) | |
constructor More... | |
getGenericFeedbackTestPresentation ($questionId, $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 ($questionId, $questionIndex, $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 ($questionId, $solutionCompleted) | |
returns the GENERIC feedback content for a given question state. More... | |
getSpecificAnswerFeedbackContent ($questionId, $questionIndex, $answerIndex) | |
returns the SPECIFIC feedback content for a given question id and answer index. More... | |
getAllSpecificAnswerFeedbackContents ($questionId) | |
returns the SPECIFIC feedback content for a given question id and answer index. More... | |
isSpecificAnswerFeedbackAvailable ($questionId) | |
returns the fact wether any specific feedback content is available or not More... | |
saveGenericFeedbackContent ($questionId, $solutionCompleted, $feedbackContent) | |
saves GENERIC feedback content for the given question id to the database. More... | |
saveSpecificAnswerFeedbackContent ($questionId, $questionIndex, $answerIndex, $feedbackContent) | |
saves SPECIFIC feedback content for the given question id and answer index to the database. More... | |
deleteGenericFeedbacks ($questionId, $isAdditionalContentEditingModePageObject) | |
deletes all GENERIC feedback contents (and page objects if required) for the given question id More... | |
deleteSpecificAnswerFeedbacks ($questionId, $isAdditionalContentEditingModePageObject) | |
deletes all SPECIFIC feedback contents for the given question id More... | |
duplicateFeedback ($originalQuestionId, $duplicateQuestionId) | |
duplicates the feedback relating to the given original question id and saves it for the given duplicate question id More... | |
syncFeedback ($originalQuestionId, $duplicateQuestionId) | |
syncs the feedback from a duplicated question back to the original question More... | |
checkFeedbackParent ($feedbackId) | |
getClassNameByType ($a_type, $a_gui=false) | |
Get class name by type. More... | |
setPageObjectOutputMode ($a_val) | |
Set page object output mode. More... | |
getPageObjectOutputMode () | |
Get page object output mode. More... | |
getGenericFeedbackExportPresentation ($questionId, $solutionCompleted) | |
returns the generic feedback export presentation for given question id either for solution completed or incompleted More... | |
getSpecificAnswerFeedbackExportPresentation ($questionId, $questionIndex, $answerIndex) | |
returns the generic feedback export presentation for given question id either for solution completed or incompleted More... | |
importGenericFeedback ($questionId, $solutionCompleted, $feedbackContent) | |
imports the given feedback content as generic feedback for the given question id for either the complete or incomplete solution More... | |
importSpecificAnswerFeedback ($questionId, $questionIndex, $answerIndex, $feedbackContent) | |
imports the given feedback content as specific feedback for the given question id and answer index More... | |
migrateContentForLearningModule (ilAssSelfAssessmentMigrator $migrator, $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' |
table name for specific feedback More... | |
Protected Member Functions | |
getGapsByIndex () | |
returns the answer options mapped by answer index (overwrites parent method from ilAssMultiOptionQuestionFeedback) More... | |
buildGapFeedbackLabel ($gapIndex, $gap) | |
builds an answer option label from given (mixed type) index and answer (overwrites parent method from ilAssMultiOptionQuestionFeedback) More... | |
buildTextGapGivenAnswerFeedbackLabel ($gapIndex, $item) | |
buildTextGapWrongAnswerFeedbackLabel ($gapIndex) | |
buildTextGapEmptyFeedbackLabel ($gapIndex) | |
buildSelectGapOptionFeedbackLabel ($gapIndex, $item) | |
buildSelectGapEmptyFeedbackLabel ($gapIndex) | |
buildNumericGapValueHitFeedbackLabel ($gapIndex) | |
buildNumericGapRangeHitFeedbackLabel ($gapIndex) | |
buildNumericGapTooLowFeedbackLabel ($gapIndex) | |
buildNumericGapTooHighFeedbackLabel ($gapIndex) | |
buildNumericGapEmptyFeedbackLabel ($gapIndex) | |
completeFormPropsForFeedbackModeGapQuestion (ilRadioOption $fbModeOpt) | |
completeFormPropsForFeedbackModeGapAnswers (ilRadioOption $fbModeOpt) | |
completeFbPropsForTextGap (ilRadioOption $fbModeOpt, assClozeGap $gap, $gapIndex) | |
completeFbPropsForSelectGap (ilRadioOption $fbModeOpt, assClozeGap $gap, $gapIndex) | |
completeFbPropsForNumericGap (ilRadioOption $fbModeOpt, $gapIndex, assClozeGap $gap) | |
initFeedbackFieldsPerGapQuestion (ilPropertyFormGUI $form) | |
initFeedbackFieldsPerGapAnswers (ilPropertyFormGUI $form) | |
initFbPropsForTextGap (ilPropertyFormGUI $form, assClozeGap $gap, $gapIndex) | |
initFbPropsForSelectGap (ilPropertyFormGUI $form, assClozeGap $gap, $gapIndex) | |
initFbPropsForNumericGap (ilPropertyFormGUI $form, $gapIndex, assClozeGap $gap) | |
saveFeedbackFieldsPerGapQuestion (ilPropertyFormGUI $form) | |
saveFeedbackFieldsPerGapAnswers (ilPropertyFormGUI $form) | |
saveFbPropsForTextGap (ilPropertyFormGUI $form, assClozeGap $gap, $gapIndex) | |
saveFbPropsForSelectGap (ilPropertyFormGUI $form, assClozeGap $gap, $gapIndex) | |
saveFbPropsForNumericGap (ilPropertyFormGUI $form, $gapIndex, assClozeGap $gap) | |
duplicateSpecificFeedback ($originalQuestionId, $duplicateQuestionId) | |
duplicates the SPECIFIC feedback relating to the given original question id and saves it for the given duplicate question id More... | |
syncSpecificFeedback ($originalQuestionId, $duplicateQuestionId) | |
saveSpecificFeedbackMode ($questionId, $feedbackMode) | |
saves the given specific feedback mode for the given question id to the db. More... | |
buildPostVarForFbFieldPerGapQuestion ($gapIndex) | |
buildPostVarForFbFieldPerGapAnswers ($gapIndex, $answerIndex) | |
getSpecificAnswerFeedbackFormValue ($gapIndex, $answerIndex) | |
cleanupSpecificAnswerFeedbacks ($fbMode) | |
fetchFeedbackIdsForGapQuestionMode () | |
fetchFeedbackIdsForGapAnswersMode () | |
deleteSpecificAnswerFeedbacksByIds ($feedbackIds) | |
Protected Member Functions inherited from ilAssMultiOptionQuestionFeedback | |
duplicateSpecificFeedback ($originalQuestionId, $duplicateQuestionId) | |
duplicates the SPECIFIC feedback relating to the given original question id and saves it for the given duplicate question id More... | |
syncSpecificFeedback ($originalQuestionId, $duplicateQuestionId) | |
syncs the SPECIFIC feedback from a duplicated question back to the original question More... | |
getSpecificAnswerFeedbackId ($questionId, $questionIndex, $answerIndex) | |
returns the SPECIFIC answer feedback ID for a given question id and answer index. More... | |
isSpecificAnswerFeedbackId ($feedbackId) | |
getSpecificFeedbackTableName () | |
returns the table name for specific feedback More... | |
buildAnswerOptionLabel ($index, $answer) | |
builds an answer option label from given (mixed type) index and answer (can be overwritten by concrete question types) More... | |
getSpecificAnswerFeedbackPageObjectId ($questionId, $questionIndex, $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 ($label, $postVar, $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 ($originalQuestionId, $duplicateQuestionId) | |
duplicates the SPECIFIC feedback relating to the given original question id and saves it for the given duplicate question id More... | |
getGenericFeedbackId ($questionId, $solutionCompleted) | |
returns the SPECIFIC answer feedback ID for a given question id and answer index. More... | |
isGenericFeedbackId ($feedbackId) | |
isSpecificAnswerFeedbackId ($feedbackId) | |
syncSpecificFeedback ($originalQuestionId, $duplicateQuestionId) | |
syncs the SPECIFIC feedback from a duplicated question back to the original question More... | |
getGenericFeedbackTableName () | |
returns the table name for specific feedback More... | |
getPageObjectNonEditableValueHTML ($pageObjectType, $pageObjectId) | |
returns html content to be used as value for non editable value form properties in feedback editing form More... | |
getPageObjectContent ($pageObjectType, $pageObjectId) | |
returns the content of page object with given type and id More... | |
getPageObjectXML ($pageObjectType, $pageObjectId) | |
returns the xml of page object with given type and id More... | |
createPageObject ($pageObjectType, $pageObjectId, $pageObjectContent) | |
creates a new page object with given page object id and page object type and passed page object content More... | |
duplicatePageObject ($pageObjectType, $originalPageObjectId, $duplicatePageObjectId, $duplicatePageObjectParentId) | |
duplicates the page object with given type and original id to new page object with same type and given duplicate id and duplicate parent id More... | |
ensurePageObjectDeleted ($pageObjectType, $pageObjectId) | |
ensures a no more existing page object for given type and id More... | |
getGenericFeedbackPageObjectType () | |
returns the type for generic feedback page objects defined in local constant More... | |
getSpecificAnswerFeedbackPageObjectType () | |
returns the type for specific feedback page objects defined in local constant More... | |
getGenericFeedbackPageObjectId ($questionId, $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... | |
Protected Attributes | |
$questionOBJ = null | |
Protected Attributes inherited from ilAssQuestionFeedback | |
$questionOBJ = null | |
$ctrl = null | |
$db = null | |
$lng = null | |
$page_obj_output_mode = "presentation" | |
Private Member Functions | |
syncSpecificFeedbackSetting ($sourceQuestionId, $targetQuestionId) | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilAssQuestionFeedback | |
static | isValidFeedbackPageObjectType ($feedbackPageObjectType) |
returns the fact wether the given page object type relates to generic or specific feedback page objects More... | |
Definition at line 15 of file class.ilAssClozeTestFeedback.php.
|
protected |
builds an answer option label from given (mixed type) index and answer (overwrites parent method from ilAssMultiOptionQuestionFeedback)
protected
integer | $indexgapIndex | |
assClozeGap | $gap |
Definition at line 73 of file class.ilAssClozeTestFeedback.php.
References $DIC.
Referenced by completeFormPropsForFeedbackModeGapQuestion().
|
protected |
integer | $gapIndex |
Definition at line 200 of file class.ilAssClozeTestFeedback.php.
References $DIC.
Referenced by completeFbPropsForNumericGap().
|
protected |
integer | $gapIndex |
Definition at line 170 of file class.ilAssClozeTestFeedback.php.
References $DIC.
Referenced by completeFbPropsForNumericGap().
|
protected |
integer | $gapIndex |
Definition at line 190 of file class.ilAssClozeTestFeedback.php.
References $DIC.
Referenced by completeFbPropsForNumericGap().
|
protected |
integer | $gapIndex |
Definition at line 180 of file class.ilAssClozeTestFeedback.php.
References $DIC.
Referenced by completeFbPropsForNumericGap().
|
protected |
integer | $gapIndex |
Definition at line 160 of file class.ilAssClozeTestFeedback.php.
References $DIC.
Referenced by completeFbPropsForNumericGap().
|
protected |
integer | $gapIndex | |
integer | $answerIndex |
Definition at line 789 of file class.ilAssClozeTestFeedback.php.
Referenced by initFbPropsForNumericGap(), initFbPropsForSelectGap(), initFbPropsForTextGap(), saveFbPropsForNumericGap(), saveFbPropsForSelectGap(), and saveFbPropsForTextGap().
|
protected |
integer | $gapIndex |
Definition at line 779 of file class.ilAssClozeTestFeedback.php.
Referenced by completeFormPropsForFeedbackModeGapQuestion(), initFeedbackFieldsPerGapQuestion(), and saveFeedbackFieldsPerGapQuestion().
|
protected |
integer | $gapIndex |
Definition at line 150 of file class.ilAssClozeTestFeedback.php.
References $DIC.
Referenced by completeFbPropsForSelectGap().
|
protected |
integer | $gapIndex | |
assAnswerCloze | $item |
Definition at line 135 of file class.ilAssClozeTestFeedback.php.
References $DIC.
Referenced by completeFbPropsForSelectGap().
|
protected |
integer | $gapIndex |
Definition at line 124 of file class.ilAssClozeTestFeedback.php.
References $DIC.
Referenced by completeFbPropsForTextGap().
|
protected |
integer | $gapIndex | |
assAnswerCloze | $item |
Definition at line 99 of file class.ilAssClozeTestFeedback.php.
References $DIC.
Referenced by completeFbPropsForTextGap().
|
protected |
integer | $gapIndex |
Definition at line 114 of file class.ilAssClozeTestFeedback.php.
References $DIC.
Referenced by completeFbPropsForTextGap().
|
protected |
Definition at line 821 of file class.ilAssClozeTestFeedback.php.
References deleteSpecificAnswerFeedbacksByIds(), fetchFeedbackIdsForGapAnswersMode(), and fetchFeedbackIdsForGapQuestionMode().
Referenced by saveSpecificFormProperties().
|
protected |
ilRadioOption | $fbModeOpt | |
assClozeGap | $gap | |
integer | $gapIndex |
Definition at line 368 of file class.ilAssClozeTestFeedback.php.
References ilRadioOption\addSubItem(), ilAssQuestionFeedback\buildFeedbackContentFormProperty(), buildNumericGapEmptyFeedbackLabel(), buildNumericGapRangeHitFeedbackLabel(), buildNumericGapTooHighFeedbackLabel(), buildNumericGapTooLowFeedbackLabel(), buildNumericGapValueHitFeedbackLabel(), and assClozeGap\numericRangeExists().
Referenced by completeFormPropsForFeedbackModeGapAnswers().
|
protected |
ilRadioOption | $fbModeOpt | |
assClozeGap | $gap | |
integer | $gapIndex |
Definition at line 332 of file class.ilAssClozeTestFeedback.php.
References ilRadioOption\addSubItem(), ilAssQuestionFeedback\buildFeedbackContentFormProperty(), buildSelectGapEmptyFeedbackLabel(), buildSelectGapOptionFeedbackLabel(), and assClozeGap\getItems().
Referenced by completeFormPropsForFeedbackModeGapAnswers().
|
protected |
ilRadioOption | $fbModeOpt | |
assClozeGap | $gap | |
integer | $gapIndex |
Definition at line 283 of file class.ilAssClozeTestFeedback.php.
References ilRadioOption\addSubItem(), ilAssQuestionFeedback\buildFeedbackContentFormProperty(), buildTextGapEmptyFeedbackLabel(), buildTextGapGivenAnswerFeedbackLabel(), buildTextGapWrongAnswerFeedbackLabel(), and assClozeGap\getItems().
Referenced by completeFormPropsForFeedbackModeGapAnswers().
|
protected |
Definition at line 256 of file class.ilAssClozeTestFeedback.php.
References completeFbPropsForNumericGap(), completeFbPropsForSelectGap(), completeFbPropsForTextGap(), getGapsByIndex(), assClozeGap\TYPE_NUMERIC, assClozeGap\TYPE_SELECT, and assClozeGap\TYPE_TEXT.
Referenced by completeSpecificFormProperties().
|
protected |
Definition at line 240 of file class.ilAssClozeTestFeedback.php.
References ilRadioOption\addSubItem(), ilAssQuestionFeedback\buildFeedbackContentFormProperty(), buildGapFeedbackLabel(), buildPostVarForFbFieldPerGapQuestion(), and getGapsByIndex().
Referenced by completeSpecificFormProperties().
ilAssClozeTestFeedback::completeSpecificFormProperties | ( | ilPropertyFormGUI | $form | ) |
Definition at line 206 of file class.ilAssClozeTestFeedback.php.
References $DIC, $header, ilPropertyFormGUI\addItem(), completeFormPropsForFeedbackModeGapAnswers(), completeFormPropsForFeedbackModeGapQuestion(), and ilFormPropertyGUI\setRequired().
|
protected |
Definition at line 876 of file class.ilAssClozeTestFeedback.php.
References ilAssQuestionFeedback\ensurePageObjectDeleted(), and ilAssQuestionFeedback\getSpecificAnswerFeedbackPageObjectType().
Referenced by cleanupSpecificAnswerFeedbacks().
ilAssClozeTestFeedback::determineAnswerIndexForAnswerValue | ( | assClozeGap | $gap, |
$answerValue | |||
) |
Definition at line 901 of file class.ilAssClozeTestFeedback.php.
References CLOZE_NUMERIC, CLOZE_SELECT, CLOZE_TEXT, assClozeGap\getItem(), assClozeGap\getItems(), and assClozeGap\getType().
ilAssClozeTestFeedback::determineTestOutputGapFeedback | ( | $gapIndex, | |
$answerIndex | |||
) |
Definition at line 888 of file class.ilAssClozeTestFeedback.php.
References ilAssMultiOptionQuestionFeedback\getSpecificAnswerFeedbackTestPresentation().
|
protected |
duplicates the SPECIFIC feedback relating to the given original question id and saves it for the given duplicate question id
(overwrites the method from parent class, because of individual setting)
protected
integer | $originalQuestionId | |
integer | $duplicateQuestionId |
Definition at line 726 of file class.ilAssClozeTestFeedback.php.
References syncSpecificFeedbackSetting().
|
protected |
Definition at line 857 of file class.ilAssClozeTestFeedback.php.
Referenced by cleanupSpecificAnswerFeedbacks().
|
protected |
Definition at line 838 of file class.ilAssClozeTestFeedback.php.
Referenced by cleanupSpecificAnswerFeedbacks().
|
protected |
returns the answer options mapped by answer index (overwrites parent method from ilAssMultiOptionQuestionFeedback)
Definition at line 51 of file class.ilAssClozeTestFeedback.php.
Referenced by completeFormPropsForFeedbackModeGapAnswers(), completeFormPropsForFeedbackModeGapQuestion(), initFeedbackFieldsPerGapAnswers(), initFeedbackFieldsPerGapQuestion(), saveFeedbackFieldsPerGapAnswers(), and saveFeedbackFieldsPerGapQuestion().
|
protected |
$gapIndex | |
$answerIndex |
Definition at line 799 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 524 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), getSpecificAnswerFeedbackFormValue(), and assClozeGap\numericRangeExists().
Referenced by initFeedbackFieldsPerGapAnswers().
|
protected |
Definition at line 511 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\getItems(), and getSpecificAnswerFeedbackFormValue().
Referenced by initFeedbackFieldsPerGapAnswers().
|
protected |
Definition at line 494 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\getItems(), and getSpecificAnswerFeedbackFormValue().
Referenced by initFeedbackFieldsPerGapAnswers().
|
protected |
Definition at line 472 of file class.ilAssClozeTestFeedback.php.
References getGapsByIndex(), initFbPropsForNumericGap(), initFbPropsForSelectGap(), initFbPropsForTextGap(), assClozeGap\TYPE_NUMERIC, assClozeGap\TYPE_SELECT, and assClozeGap\TYPE_TEXT.
Referenced by initSpecificFormProperties().
|
protected |
Definition at line 464 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapQuestion(), getGapsByIndex(), ilPropertyFormGUI\getItemByPostVar(), and getSpecificAnswerFeedbackFormValue().
Referenced by initSpecificFormProperties().
ilAssClozeTestFeedback::initSpecificFormProperties | ( | ilPropertyFormGUI | $form | ) |
Definition at line 438 of file class.ilAssClozeTestFeedback.php.
References ilPropertyFormGUI\getItemByPostVar(), initFeedbackFieldsPerGapAnswers(), and initFeedbackFieldsPerGapQuestion().
ilAssClozeTestFeedback::isSaveableInPageObjectEditingMode | ( | ) |
Definition at line 59 of file class.ilAssClozeTestFeedback.php.
|
protected |
Definition at line 666 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\numericRangeExists(), and ilAssMultiOptionQuestionFeedback\saveSpecificAnswerFeedbackContent().
Referenced by saveFeedbackFieldsPerGapAnswers().
|
protected |
Definition at line 643 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\getItems(), and ilAssMultiOptionQuestionFeedback\saveSpecificAnswerFeedbackContent().
Referenced by saveFeedbackFieldsPerGapAnswers().
|
protected |
Definition at line 611 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapAnswers(), ilPropertyFormGUI\getItemByPostVar(), assClozeGap\getItems(), and ilAssMultiOptionQuestionFeedback\saveSpecificAnswerFeedbackContent().
Referenced by saveFeedbackFieldsPerGapAnswers().
|
protected |
Definition at line 589 of file class.ilAssClozeTestFeedback.php.
References getGapsByIndex(), saveFbPropsForNumericGap(), saveFbPropsForSelectGap(), saveFbPropsForTextGap(), assClozeGap\TYPE_NUMERIC, assClozeGap\TYPE_SELECT, and assClozeGap\TYPE_TEXT.
Referenced by saveSpecificFormProperties().
|
protected |
Definition at line 574 of file class.ilAssClozeTestFeedback.php.
References buildPostVarForFbFieldPerGapQuestion(), getGapsByIndex(), 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)
integer | $questionId | |
string | $feedbackMode |
Definition at line 764 of file class.ilAssClozeTestFeedback.php.
Referenced by saveSpecificFormProperties().
ilAssClozeTestFeedback::saveSpecificFormProperties | ( | ilPropertyFormGUI | $form | ) |
Definition at line 549 of file class.ilAssClozeTestFeedback.php.
References cleanupSpecificAnswerFeedbacks(), ilPropertyFormGUI\getItemByPostVar(), saveFeedbackFieldsPerGapAnswers(), saveFeedbackFieldsPerGapQuestion(), and saveSpecificFeedbackMode().
|
protected |
Definition at line 752 of file class.ilAssClozeTestFeedback.php.
References syncSpecificFeedbackSetting().
|
private |
Definition at line 735 of file class.ilAssClozeTestFeedback.php.
Referenced by duplicateSpecificFeedback(), and syncSpecificFeedback().
|
protected |
Definition at line 43 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_MODE_GAP_ANSWERS = 'gapAnswers' |
Definition at line 21 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 20 of file class.ilAssClozeTestFeedback.php.
Referenced by assClozeTestImport\fromXML(), and assClozeTest\loadFromDb().
const ilAssClozeTestFeedback::FB_NUMERIC_GAP_EMPTY_INDEX = -1 |
Definition at line 29 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_NUMERIC_GAP_RANGE_HIT_INDEX = 1 |
Definition at line 31 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_NUMERIC_GAP_TOO_HIGH_INDEX = 3 |
Definition at line 33 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_NUMERIC_GAP_TOO_LOW_INDEX = 2 |
Definition at line 32 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_NUMERIC_GAP_VALUE_HIT_INDEX = 0 |
Definition at line 30 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_SELECT_GAP_EMPTY_INDEX = -1 |
Definition at line 28 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 26 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::FB_TEXT_GAP_NOMATCH_INDEX = -2 |
Definition at line 27 of file class.ilAssClozeTestFeedback.php.
const ilAssClozeTestFeedback::SINGLE_GAP_FB_ANSWER_INDEX = -10 |
Definition at line 35 of file class.ilAssClozeTestFeedback.php.