|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Inheritance diagram for ilAssQuestionFeedback:
Collaboration diagram for ilAssQuestionFeedback:Public Member Functions | |
| __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) | |
Static Public Member Functions | |
| static | isValidFeedbackPageObjectType ($feedbackPageObjectType) |
| returns the fact wether the given page object type relates to generic or specific feedback page objects More... | |
Data Fields | |
| 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 | |
| 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 | |
| $ctrl = null | |
| $db = null | |
| $lng = null | |
| $page_obj_output_mode = "presentation" | |
Private Member Functions | |
| duplicateGenericFeedback ($originalQuestionId, $duplicateQuestionId) | |
| duplicates the GENERIC feedback relating to the given original question id and saves it for the given duplicate question id More... | |
| syncGenericFeedback ($originalQuestionId, $duplicateQuestionId) | |
| syncs the GENERIC feedback from a duplicated question back to the original question More... | |
| getPageObjectEditingLink ($pageObjectType, $pageObjectId) | |
| returns a link to page object editor for page object with given type and id More... | |
| ensurePageObjectExists ($pageObjectType, $pageObjectId) | |
| ensures an existing page object with given type and id More... | |
Definition at line 14 of file class.ilAssQuestionFeedback.php.
|
final |
constructor
@final @access public
| assQuestion | $questionOBJ | |
| ilCtrl | $ctrl | |
| ilDBInterface | $db | |
| ilLanguage | $lng |
Definition at line 94 of file class.ilAssQuestionFeedback.php.
References $ctrl, $db, $lng, and $questionOBJ.
|
finalprotected |
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 ...
@final @access protected
| string | $label | |
| string | $postVar | |
| boolean | $asNonEditable |
Definition at line 273 of file class.ilAssQuestionFeedback.php.
References ilObjAdvancedEditing\_getUsedHTMLTags(), and ilAssSelfAssessmentQuestionFormatter\getSelfAssessmentTags().
Referenced by ilAssClozeTestFeedback\completeFbPropsForNumericGap(), ilAssClozeTestFeedback\completeFbPropsForSelectGap(), ilAssClozeTestFeedback\completeFbPropsForTextGap(), ilAssClozeTestFeedback\completeFormPropsForFeedbackModeGapQuestion(), completeGenericFormProperties(), ilAssConfigurableMultiOptionQuestionFeedback\completeSpecificFormProperties(), and ilAssMultiOptionQuestionFeedback\completeSpecificFormProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
final |
| int | $feedbackId |
Definition at line 646 of file class.ilAssQuestionFeedback.php.
References isGenericFeedbackId(), and isSpecificAnswerFeedbackId().
Here is the call graph for this function:
|
final |
completes a given form object with the GENERIC form properties required by all question types
@final @access public
| ilPropertyFormGUI | $form |
Definition at line 147 of file class.ilAssQuestionFeedback.php.
References ilPropertyFormGUI\addItem(), and buildFeedbackContentFormProperty().
Here is the call graph for this function:
|
abstract |
completes a given form object with the SPECIFIC form properties required by this question type
@abstract @access public
| ilPropertyFormGUI | $form |
Reimplemented in ilAssClozeTestFeedback, ilAssConfigurableMultiOptionQuestionFeedback, ilAssMultiOptionQuestionFeedback, and ilAssSingleOptionQuestionFeedback.
|
finalprotected |
creates a new page object with given page object id and page object type and passed page object content
@final @access protected
| string | $pageObjectType | |
| integer | $pageObjectId | |
| string | $pageObjectContent |
Definition at line 850 of file class.ilAssQuestionFeedback.php.
References getClassNameByType().
Referenced by importGenericFeedback(), and ilAssMultiOptionQuestionFeedback\importSpecificAnswerFeedback().
Here is the call graph for this function:
Here is the caller graph for this function:
|
final |
deletes all GENERIC feedback contents (and page objects if required) for the given question id
@final @access public
| integer | $questionId | |
| boolean | $isAdditionalContentEditingModePageObject |
Definition at line 448 of file class.ilAssQuestionFeedback.php.
References ensurePageObjectDeleted(), getGenericFeedbackPageObjectId(), and getGenericFeedbackPageObjectType().
Here is the call graph for this function:
|
abstract |
deletes all SPECIFIC feedback contents for the given question id
@abstract @access public
| integer | $questionId | |
| boolean | $isAdditionalContentEditingModePageObject |
Reimplemented in ilAssMultiOptionQuestionFeedback, and ilAssSingleOptionQuestionFeedback.
|
final |
duplicates the feedback relating to the given original question id and saves it for the given duplicate question id
@final @access public
| integer | $originalQuestionId | |
| integer | $duplicateQuestionId |
Definition at line 488 of file class.ilAssQuestionFeedback.php.
References duplicateGenericFeedback(), and duplicateSpecificFeedback().
Here is the call graph for this function:
|
private |
duplicates the GENERIC feedback relating to the given original question id and saves it for the given duplicate question id
@final @access private
| integer | $originalQuestionId | |
| integer | $duplicateQuestionId |
Definition at line 503 of file class.ilAssQuestionFeedback.php.
References $res, duplicatePageObject(), getGenericFeedbackPageObjectType(), and getGenericFeedbackTableName().
Referenced by duplicateFeedback().
Here is the call graph for this function:
Here is the caller graph for this function:
|
finalprotected |
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
@final @access protected
| string | $pageObjectType | |
| integer | $originalPageObjectId | |
| integer | $duplicatePageObjectId | |
| integer | $duplicatePageObjectParentId |
Definition at line 873 of file class.ilAssQuestionFeedback.php.
References getClassNameByType().
Referenced by duplicateGenericFeedback(), and ilAssMultiOptionQuestionFeedback\duplicateSpecificFeedback().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstractprotected |
duplicates the SPECIFIC feedback relating to the given original question id and saves it for the given duplicate question id
@abstract @access protected
| integer | $originalQuestionId | |
| integer | $duplicateQuestionId |
Reimplemented in ilAssClozeTestFeedback, ilAssConfigurableMultiOptionQuestionFeedback, ilAssMultiOptionQuestionFeedback, and ilAssSingleOptionQuestionFeedback.
Referenced by duplicateFeedback().
Here is the caller graph for this function:
|
finalprotected |
ensures a no more existing page object for given type and id
@final @access protected
| string | $pageObjectType | |
| integer | $pageObjectId |
Definition at line 892 of file class.ilAssQuestionFeedback.php.
References ilPageObject\_exists(), PAGE_OBJECT_TYPE_GENERIC_FEEDBACK, and PAGE_OBJECT_TYPE_SPECIFIC_FEEDBACK.
Referenced by deleteGenericFeedbacks(), ilAssMultiOptionQuestionFeedback\deleteSpecificAnswerFeedbacks(), and ilAssClozeTestFeedback\deleteSpecificAnswerFeedbacksByIds().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
ensures an existing page object with given type and id
@final @access private
| string | $pageObjectType | |
| integer | $pageObjectId |
Definition at line 818 of file class.ilAssQuestionFeedback.php.
References ilPageObject\_exists(), PAGE_OBJECT_TYPE_GENERIC_FEEDBACK, and PAGE_OBJECT_TYPE_SPECIFIC_FEEDBACK.
Referenced by getPageObjectContent(), and getPageObjectXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstract |
returns the SPECIFIC feedback content for a given question id and answer index.
@abstract @access public
| integer | $questionId |
Reimplemented in ilAssMultiOptionQuestionFeedback, and ilAssSingleOptionQuestionFeedback.
Referenced by isSpecificAnswerFeedbackAvailable().
Here is the caller graph for this function:| ilAssQuestionFeedback::getClassNameByType | ( | $a_type, | |
$a_gui = false |
|||
| ) |
Get class name by type.
return
Definition at line 704 of file class.ilAssQuestionFeedback.php.
References $a_type, PAGE_OBJECT_TYPE_GENERIC_FEEDBACK, and PAGE_OBJECT_TYPE_SPECIFIC_FEEDBACK.
Referenced by createPageObject(), duplicatePageObject(), getPageObjectContent(), getPageObjectEditingLink(), and getPageObjectXML().
Here is the caller graph for this function:
|
final |
returns the GENERIC feedback content for a given question state.
the state is either the completed solution (all answers correct) of the question or at least one incorrect answer.
@final @access public
| integer | $questionId | |
| boolean | $solutionCompleted |
Definition at line 320 of file class.ilAssQuestionFeedback.php.
References $res, and ilRTE\_replaceMediaObjectImageSrc().
Referenced by getGenericFeedbackExportPresentation(), getGenericFeedbackTestPresentation(), and initGenericFormProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionFeedback::getGenericFeedbackExportPresentation | ( | $questionId, | |
| $solutionCompleted | |||
| ) |
returns the generic feedback export presentation for given question id either for solution completed or incompleted
@access public
| integer | $questionId | |
| boolean | $solutionCompleted |
Definition at line 989 of file class.ilAssQuestionFeedback.php.
References getGenericFeedbackContent(), getGenericFeedbackPageObjectId(), getGenericFeedbackPageObjectType(), and getPageObjectXML().
Here is the call graph for this function:
|
finalprotected |
returns the SPECIFIC answer feedback ID for a given question id and answer index.
@final @access protected
| integer | $questionId | |
| boolean | $answerIndex |
Definition at line 601 of file class.ilAssQuestionFeedback.php.
References $res.
Referenced by getGenericFeedbackPageObjectId(), and saveGenericFeedbackContent().
Here is the caller graph for this function:
|
finalprotected |
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)
@final @access protected
| integer | $questionId | |
| boolean | $solutionCompleted |
Definition at line 969 of file class.ilAssQuestionFeedback.php.
References getGenericFeedbackId(), and saveGenericFeedbackContent().
Referenced by deleteGenericFeedbacks(), getGenericFeedbackExportPresentation(), getGenericFeedbackTestPresentation(), importGenericFeedback(), and initGenericFormProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
finalprotected |
returns the type for generic feedback page objects defined in local constant
@final @access protected
Definition at line 918 of file class.ilAssQuestionFeedback.php.
References PAGE_OBJECT_TYPE_GENERIC_FEEDBACK.
Referenced by deleteGenericFeedbacks(), duplicateGenericFeedback(), getGenericFeedbackExportPresentation(), getGenericFeedbackTestPresentation(), importGenericFeedback(), and initGenericFormProperties().
Here is the caller graph for this function:
|
finalprotected |
returns the table name for specific feedback
@final
Definition at line 675 of file class.ilAssQuestionFeedback.php.
References TABLE_NAME_GENERIC_FEEDBACK.
Referenced by duplicateGenericFeedback(), saveGenericFeedbackContent(), and syncGenericFeedback().
Here is the caller graph for this function:| ilAssQuestionFeedback::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)
@access public
| integer | $questionId | |
| boolean | $solutionCompleted |
Definition at line 112 of file class.ilAssQuestionFeedback.php.
References getGenericFeedbackContent(), getGenericFeedbackPageObjectId(), getGenericFeedbackPageObjectType(), and getPageObjectContent().
Here is the call graph for this function:
|
finalprotected |
returns the content of page object with given type and id
@final @access protected
| string | $pageObjectType | |
| integer | $pageObjectId |
Definition at line 770 of file class.ilAssQuestionFeedback.php.
References $DIC, $ilCtrl, ensurePageObjectExists(), getClassNameByType(), and getPageObjectOutputMode().
Referenced by getGenericFeedbackTestPresentation(), getPageObjectNonEditableValueHTML(), and ilAssMultiOptionQuestionFeedback\getSpecificAnswerFeedbackTestPresentation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
returns a link to page object editor for page object with given type and id
@final @access private
| string | $pageObjectType | |
| integer | $pageObjectId |
Definition at line 729 of file class.ilAssQuestionFeedback.php.
References getClassNameByType().
Referenced by getPageObjectNonEditableValueHTML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
finalprotected |
returns html content to be used as value for non editable value form properties in feedback editing form
@final @access protected
| string | $pageObjectType | |
| integer | $pageObjectId |
Definition at line 690 of file class.ilAssQuestionFeedback.php.
References getPageObjectContent(), and getPageObjectEditingLink().
Referenced by ilAssClozeTestFeedback\getSpecificAnswerFeedbackFormValue(), initGenericFormProperties(), ilAssConfigurableMultiOptionQuestionFeedback\initSpecificFormProperties(), and ilAssMultiOptionQuestionFeedback\initSpecificFormProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
final |
Get page object output mode.
Definition at line 756 of file class.ilAssQuestionFeedback.php.
References $page_obj_output_mode.
Referenced by getPageObjectContent().
Here is the caller graph for this function:
|
finalprotected |
returns the xml of page object with given type and id
@final @access protected
| string | $pageObjectType | |
| integer | $pageObjectId |
Definition at line 799 of file class.ilAssQuestionFeedback.php.
References ensurePageObjectExists(), and getClassNameByType().
Referenced by getGenericFeedbackExportPresentation(), and ilAssMultiOptionQuestionFeedback\getSpecificAnswerFeedbackExportPresentation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstract |
returns the SPECIFIC feedback content for a given question id and answer index.
@abstract @access public
| integer | $questionId | |
| integer | $questionIndex | |
| integer | $answerIndex |
Reimplemented in ilAssMultiOptionQuestionFeedback, and ilAssSingleOptionQuestionFeedback.
|
abstract |
returns the generic feedback export presentation for given question id either for solution completed or incompleted
@abstract @access public
| integer | $questionId | |
| integer | $questionIndex | |
| integer | $answerIndex |
Reimplemented in ilAssMultiOptionQuestionFeedback, and ilAssSingleOptionQuestionFeedback.
|
finalprotected |
returns the type for specific feedback page objects defined in local constant
@final @access protected
Definition at line 931 of file class.ilAssQuestionFeedback.php.
References PAGE_OBJECT_TYPE_SPECIFIC_FEEDBACK.
Referenced by ilAssMultiOptionQuestionFeedback\deleteSpecificAnswerFeedbacks(), ilAssClozeTestFeedback\deleteSpecificAnswerFeedbacksByIds(), ilAssMultiOptionQuestionFeedback\duplicateSpecificFeedback(), ilAssMultiOptionQuestionFeedback\getSpecificAnswerFeedbackExportPresentation(), ilAssClozeTestFeedback\getSpecificAnswerFeedbackFormValue(), ilAssMultiOptionQuestionFeedback\getSpecificAnswerFeedbackTestPresentation(), ilAssMultiOptionQuestionFeedback\importSpecificAnswerFeedback(), ilAssConfigurableMultiOptionQuestionFeedback\initSpecificFormProperties(), and ilAssMultiOptionQuestionFeedback\initSpecificFormProperties().
Here is the caller graph for this function:
|
abstract |
returns the html of SPECIFIC feedback for the given question id and answer index for test presentation
@abstract @access public
| integer | $questionId | |
| integer | $questionIndex | |
| integer | $answerIndex |
Reimplemented in ilAssMultiOptionQuestionFeedback, and ilAssSingleOptionQuestionFeedback.
| ilAssQuestionFeedback::importGenericFeedback | ( | $questionId, | |
| $solutionCompleted, | |||
| $feedbackContent | |||
| ) |
imports the given feedback content as generic feedback for the given question id for either the complete or incomplete solution
@access public
| integer | $questionId | |
| boolean | $solutionCompleted | |
| string | $feedbackContent |
Definition at line 1025 of file class.ilAssQuestionFeedback.php.
References createPageObject(), getGenericFeedbackPageObjectId(), getGenericFeedbackPageObjectType(), and saveGenericFeedbackContent().
Here is the call graph for this function:
|
abstract |
imports the given feedback content as specific feedback for the given question id and answer index
@abstract @access public
| integer | $questionId | |
| integer | $questionIndex | |
| integer | $answerIndex | |
| string | $feedbackContent |
Reimplemented in ilAssMultiOptionQuestionFeedback, and ilAssSingleOptionQuestionFeedback.
|
final |
initialises a given form object's GENERIC form properties relating to all question types
@final @access public
| ilPropertyFormGUI | $form |
Definition at line 180 of file class.ilAssQuestionFeedback.php.
References getGenericFeedbackContent(), getGenericFeedbackPageObjectId(), getGenericFeedbackPageObjectType(), ilPropertyFormGUI\getItemByPostVar(), and getPageObjectNonEditableValueHTML().
Here is the call graph for this function:
|
abstract |
initialises a given form object's SPECIFIC form properties relating to this question type
@abstract @access public
| ilPropertyFormGUI | $form |
Reimplemented in ilAssClozeTestFeedback, ilAssConfigurableMultiOptionQuestionFeedback, ilAssMultiOptionQuestionFeedback, and ilAssSingleOptionQuestionFeedback.
|
protected |
| int | $feedbackId |
Definition at line 623 of file class.ilAssQuestionFeedback.php.
Referenced by checkFeedbackParent().
Here is the caller graph for this function:| ilAssQuestionFeedback::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)
@access public
Reimplemented in ilAssClozeTestFeedback, and ilAssConfigurableMultiOptionQuestionFeedback.
Definition at line 254 of file class.ilAssQuestionFeedback.php.
| ilAssQuestionFeedback::isSpecificAnswerFeedbackAvailable | ( | $questionId | ) |
returns the fact wether any specific feedback content is available or not
| integer | $questionId |
Definition at line 370 of file class.ilAssQuestionFeedback.php.
References getAllSpecificAnswerFeedbackContents().
Here is the call graph for this function:
|
abstractprotected |
| int | $feedbackId |
Reimplemented in ilAssMultiOptionQuestionFeedback, and ilAssSingleOptionQuestionFeedback.
Referenced by checkFeedbackParent().
Here is the caller graph for this function:
|
staticfinal |
returns the fact wether the given page object type relates to generic or specific feedback page objects
@final
@access public
| string | $feedbackPageObjectType |
Definition at line 946 of file class.ilAssQuestionFeedback.php.
References PAGE_OBJECT_TYPE_GENERIC_FEEDBACK, and PAGE_OBJECT_TYPE_SPECIFIC_FEEDBACK.
Referenced by ilAssQuestionFeedbackPageObjectCommandForwarder\__construct().
Here is the caller graph for this function:| ilAssQuestionFeedback::migrateContentForLearningModule | ( | ilAssSelfAssessmentMigrator | $migrator, |
| $questionId | |||
| ) |
| ilAssSelfAssessmentMigrator | $migrator | |
| integer | $questionId |
Definition at line 1054 of file class.ilAssQuestionFeedback.php.
References ilAssSelfAssessmentMigrator\migrateToLmContent(), and saveGenericFeedbackContent().
Here is the call graph for this function:
|
final |
saves GENERIC feedback content for the given question id to the database.
Generic feedback is either feedback for the completed solution (all answers correct) of the question or at least onen incorrect answer.
@final @access public
| integer | $questionId | |
| boolean | $solutionCompleted | |
| string | $feedbackContent |
Definition at line 387 of file class.ilAssQuestionFeedback.php.
References ilRTE\_replaceMediaObjectImageSrc(), getGenericFeedbackId(), and getGenericFeedbackTableName().
Referenced by getGenericFeedbackPageObjectId(), importGenericFeedback(), migrateContentForLearningModule(), and saveGenericFormProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
final |
saves a given form object's GENERIC form properties relating to all question types
@final @access public
| ilPropertyFormGUI | $form |
Definition at line 228 of file class.ilAssQuestionFeedback.php.
References ilPropertyFormGUI\getInput(), and saveGenericFeedbackContent().
Here is the call graph for this function:
|
abstract |
saves SPECIFIC feedback content for the given question id and answer index to the database.
@abstract @access public
| integer | $questionId | |
| integer | $questionIndex | |
| integer | $answerIndex | |
| string | $feedbackContent |
Reimplemented in ilAssMultiOptionQuestionFeedback, and ilAssSingleOptionQuestionFeedback.
|
abstract |
saves a given form object's SPECIFIC form properties relating to this question type
@abstract @access public
| ilPropertyFormGUI | $form |
Reimplemented in ilAssClozeTestFeedback, ilAssConfigurableMultiOptionQuestionFeedback, ilAssMultiOptionQuestionFeedback, and ilAssSingleOptionQuestionFeedback.
|
final |
Set page object output mode.
| string | $a_val | page output mode |
Definition at line 746 of file class.ilAssQuestionFeedback.php.
|
final |
syncs the feedback from a duplicated question back to the original question
@final @access public
| integer | $originalQuestionId | |
| integer | $duplicateQuestionId |
Definition at line 548 of file class.ilAssQuestionFeedback.php.
References syncGenericFeedback(), and syncSpecificFeedback().
Here is the call graph for this function:
|
private |
syncs the GENERIC feedback from a duplicated question back to the original question
@final @access private
| integer | $originalQuestionId | |
| integer | $duplicateQuestionId |
Definition at line 562 of file class.ilAssQuestionFeedback.php.
References $result, and getGenericFeedbackTableName().
Referenced by syncFeedback().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstractprotected |
syncs the SPECIFIC feedback from a duplicated question back to the original question
@abstract @access protected
| integer | $originalQuestionId | |
| integer | $duplicateQuestionId |
Reimplemented in ilAssClozeTestFeedback, ilAssConfigurableMultiOptionQuestionFeedback, ilAssMultiOptionQuestionFeedback, and ilAssSingleOptionQuestionFeedback.
Referenced by syncFeedback().
Here is the caller graph for this function:
|
protected |
Definition at line 58 of file class.ilAssQuestionFeedback.php.
Referenced by __construct().
|
protected |
Definition at line 66 of file class.ilAssQuestionFeedback.php.
Referenced by __construct().
|
protected |
Definition at line 74 of file class.ilAssQuestionFeedback.php.
Referenced by __construct().
|
protected |
Definition at line 82 of file class.ilAssQuestionFeedback.php.
Referenced by getPageObjectOutputMode().
|
protected |
Definition at line 50 of file class.ilAssQuestionFeedback.php.
Referenced by __construct().
| const ilAssQuestionFeedback::CSS_CLASS_FEEDBACK_CORRECT = 'ilc_qfeedr_FeedbackRight' |
Definition at line 16 of file class.ilAssQuestionFeedback.php.
Referenced by assOrderingQuestionGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assOrderingHorizontalGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), ilTestPlayerAbstractGUI\populateGenericFeedbackBlock(), and ilAssQuestionPreviewGUI\populateGenericQuestionFeedback().
| const ilAssQuestionFeedback::CSS_CLASS_FEEDBACK_WRONG = 'ilc_qfeedw_FeedbackWrong' |
Definition at line 17 of file class.ilAssQuestionFeedback.php.
Referenced by assOrderingQuestionGUI\getSolutionOutput(), assClozeTestGUI\getSolutionOutput(), assErrorTextGUI\getSolutionOutput(), assFileUploadGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), assLongMenuGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assMultipleChoiceGUI\getSolutionOutput(), assNumericGUI\getSolutionOutput(), assOrderingHorizontalGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assTextQuestionGUI\getSolutionOutput(), assTextSubsetGUI\getSolutionOutput(), ilTestPlayerAbstractGUI\populateGenericFeedbackBlock(), and ilAssQuestionPreviewGUI\populateGenericQuestionFeedback().
| const ilAssQuestionFeedback::FEEDBACK_SOLUTION_COMPLETE_PAGE_OBJECT_ID = 2 |
id for page object relating to generic complete solution feedback
Definition at line 37 of file class.ilAssQuestionFeedback.php.
| const ilAssQuestionFeedback::FEEDBACK_SOLUTION_INCOMPLETE_PAGE_OBJECT_ID = 1 |
id for page object relating to generic incomplete solution feedback
Definition at line 32 of file class.ilAssQuestionFeedback.php.
| const ilAssQuestionFeedback::PAGE_OBJECT_TYPE_GENERIC_FEEDBACK = 'qfbg' |
type for generic feedback page objects
Definition at line 22 of file class.ilAssQuestionFeedback.php.
Referenced by ensurePageObjectDeleted(), ilAssQuestionFeedbackPageObjectCommandForwarder\ensurePageObjectExists(), ensurePageObjectExists(), getClassNameByType(), getGenericFeedbackPageObjectType(), ilAssQuestionFeedbackPageObjectCommandForwarder\getPageObjectGUI(), and isValidFeedbackPageObjectType().
| const ilAssQuestionFeedback::PAGE_OBJECT_TYPE_SPECIFIC_FEEDBACK = 'qfbs' |
type for specific feedback page objects
Definition at line 27 of file class.ilAssQuestionFeedback.php.
Referenced by ensurePageObjectDeleted(), ilAssQuestionFeedbackPageObjectCommandForwarder\ensurePageObjectExists(), ensurePageObjectExists(), getClassNameByType(), ilAssQuestionFeedbackPageObjectCommandForwarder\getPageObjectGUI(), getSpecificAnswerFeedbackPageObjectType(), and isValidFeedbackPageObjectType().
| const ilAssQuestionFeedback::TABLE_NAME_GENERIC_FEEDBACK = 'qpl_fb_generic' |
table name for specific feedback
Definition at line 42 of file class.ilAssQuestionFeedback.php.
Referenced by getGenericFeedbackTableName().