ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
getSpecificAnswerFeedbackTestPresentation ($questionId, $answerIndex) | |
returns the html of SPECIFIC feedback for the given question id and answer index for test presentation | |
completeSpecificFormProperties (ilPropertyFormGUI $form) | |
completes a given form object with the specific form properties required by this question type | |
initSpecificFormProperties (ilPropertyFormGUI $form) | |
initialises a given form object's specific form properties relating to this question type | |
saveSpecificFormProperties (ilPropertyFormGUI $form) | |
saves a given form object's specific form properties relating to this question type | |
getSpecificAnswerFeedbackContent ($questionId, $answerIndex) | |
returns the SPECIFIC answer feedback content for a given question id and answer index. | |
saveSpecificAnswerFeedbackContent ($questionId, $answerIndex, $feedbackContent) | |
saves SPECIFIC answer feedback content for the given question id and answer index to the database. | |
deleteSpecificAnswerFeedbacks ($questionId, $isAdditionalContentEditingModePageObject) | |
deletes all SPECIFIC answer feedback contents (and page objects if required) for the given question id | |
getSpecificAnswerFeedbackExportPresentation ($questionId, $answerIndex) | |
returns the generic feedback export presentation for given question id either for solution completed or incompleted | |
importSpecificAnswerFeedback ($questionId, $answerIndex, $feedbackContent) | |
imports the given feedback content as specific feedback for the given question id and answer index | |
Public Member Functions inherited from ilAssQuestionFeedback | |
__construct (assQuestion $questionOBJ, ilCtrl $ctrl, ilDB $db, ilLanguage $lng) | |
constructor | |
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) | |
completeGenericFormProperties (ilPropertyFormGUI $form) | |
completes a given form object with the GENERIC form properties required by all question types | |
initGenericFormProperties (ilPropertyFormGUI $form) | |
initialises a given form object's GENERIC form properties relating to all question types | |
saveGenericFormProperties (ilPropertyFormGUI $form) | |
saves a given form object's GENERIC form properties relating to all question types | |
isSaveableInPageObjectEditingMode () | |
returns the fact wether the feedback editing form is saveable in page object editing or not. | |
getGenericFeedbackContent ($questionId, $solutionCompleted) | |
returns the GENERIC feedback content for a given question state. | |
saveGenericFeedbackContent ($questionId, $solutionCompleted, $feedbackContent) | |
saves GENERIC feedback content for the given question id to the database. | |
deleteGenericFeedbacks ($questionId, $isAdditionalContentEditingModePageObject) | |
deletes all GENERIC feedback contents (and page objects if required) for the given question id | |
duplicateFeedback ($originalQuestionId, $duplicateQuestionId) | |
duplicates the feedback relating to the given original question id and saves it for the given duplicate question id | |
syncFeedback ($originalQuestionId, $duplicateQuestionId) | |
syncs the feedback from a duplicated question back to the original question | |
getClassNameByType ($a_type, $a_gui=false) | |
Get class name by type. | |
setPageObjectOutputMode ($a_val) | |
Set page object output mode. | |
getPageObjectOutputMode () | |
Get page object output mode. | |
getGenericFeedbackExportPresentation ($questionId, $solutionCompleted) | |
returns the generic feedback export presentation for given question id either for solution completed or incompleted | |
importGenericFeedback ($questionId, $solutionCompleted, $feedbackContent) | |
imports the given feedback content as generic feedback for the given question id for either the complete or incomplete solution |
Protected Member Functions | |
duplicateSpecificFeedback ($originalQuestionId, $duplicateQuestionId) | |
duplicates the SPECIFIC feedback relating to the given original question id and saves it for the given duplicate question id | |
syncSpecificFeedback ($originalQuestionId, $duplicateQuestionId) | |
syncs the SPECIFIC feedback from a duplicated question back to the original question | |
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 ... | |
getGenericFeedbackId ($questionId, $solutionCompleted) | |
returns the SPECIFIC answer feedback ID for a given question id and answer index. | |
getGenericFeedbackTableName () | |
returns the table name for specific feedback | |
getPageObjectNonEditableValueHTML ($pageObjectType, $pageObjectId) | |
returns html content to be used as value for non editable value form properties in feedback editing form | |
getPageObjectContent ($pageObjectType, $pageObjectId) | |
returns the content of page object with given type and id | |
getPageObjectXML ($pageObjectType, $pageObjectId) | |
returns the xml of page object with given type and id | |
createPageObject ($pageObjectType, $pageObjectId, $pageObjectContent) | |
creates a new page object with given page object id and page object type and passed page object content | |
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 | |
ensurePageObjectDeleted ($pageObjectType, $pageObjectId) | |
ensures a no more existing page object for given type and id | |
getGenericFeedbackPageObjectType () | |
returns the type for generic feedback page objects defined in local constant | |
getSpecificAnswerFeedbackPageObjectType () | |
returns the type for specific feedback page objects defined in local constant | |
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) |
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 | |
Data Fields inherited from ilAssQuestionFeedback | |
const | PAGE_OBJECT_TYPE_GENERIC_FEEDBACK = 'qfbg' |
type for generic feedback page objects | |
const | PAGE_OBJECT_TYPE_SPECIFIC_FEEDBACK = 'qfbs' |
type for specific feedback page objects | |
const | FEEDBACK_SOLUTION_INCOMPLETE_PAGE_OBJECT_ID = 1 |
id for page object relating to generic incomplete solution feedback | |
const | FEEDBACK_SOLUTION_COMPLETE_PAGE_OBJECT_ID = 2 |
id for page object relating to generic complete solution feedback | |
const | TABLE_NAME_GENERIC_FEEDBACK = 'qpl_fb_generic' |
table name for specific feedback | |
Protected Attributes inherited from ilAssQuestionFeedback | |
$questionOBJ = null | |
$ctrl = null | |
$db = null | |
$lng = null | |
$page_obj_output_mode = "presentation" |
Definition at line 17 of file class.ilAssSingleOptionQuestionFeedback.php.
ilAssSingleOptionQuestionFeedback::completeSpecificFormProperties | ( | ilPropertyFormGUI | $form | ) |
completes a given form object with the specific form properties required by this question type
public
ilPropertyFormGUI | $form |
Reimplemented from ilAssQuestionFeedback.
Definition at line 40 of file class.ilAssSingleOptionQuestionFeedback.php.
ilAssSingleOptionQuestionFeedback::deleteSpecificAnswerFeedbacks | ( | $questionId, | |
$isAdditionalContentEditingModePageObject | |||
) |
deletes all SPECIFIC answer feedback contents (and page objects if required) for the given question id
public
integer | $questionId | |
boolean | $isAdditionalContentEditingModePageObject |
Reimplemented from ilAssQuestionFeedback.
Definition at line 100 of file class.ilAssSingleOptionQuestionFeedback.php.
|
protected |
duplicates the SPECIFIC feedback relating to the given original question id and saves it for the given duplicate question id
protected
integer | $originalQuestionId | |
integer | $duplicateQuestionId |
Reimplemented from ilAssQuestionFeedback.
Definition at line 112 of file class.ilAssSingleOptionQuestionFeedback.php.
ilAssSingleOptionQuestionFeedback::getSpecificAnswerFeedbackContent | ( | $questionId, | |
$answerIndex | |||
) |
returns the SPECIFIC answer feedback content for a given question id and answer index.
public
integer | $questionId | |
boolean | $answerIndex |
Reimplemented from ilAssQuestionFeedback.
Definition at line 74 of file class.ilAssSingleOptionQuestionFeedback.php.
ilAssSingleOptionQuestionFeedback::getSpecificAnswerFeedbackExportPresentation | ( | $questionId, | |
$answerIndex | |||
) |
returns the generic feedback export presentation for given question id either for solution completed or incompleted
public
integer | $questionId | |
integer | $answerIndex |
Reimplemented from ilAssQuestionFeedback.
Definition at line 136 of file class.ilAssSingleOptionQuestionFeedback.php.
ilAssSingleOptionQuestionFeedback::getSpecificAnswerFeedbackTestPresentation | ( | $questionId, | |
$answerIndex | |||
) |
returns the html of SPECIFIC feedback for the given question id and answer index for test presentation
public
integer | $questionId | |
integer | $answerIndex |
Reimplemented from ilAssQuestionFeedback.
Definition at line 28 of file class.ilAssSingleOptionQuestionFeedback.php.
ilAssSingleOptionQuestionFeedback::importSpecificAnswerFeedback | ( | $questionId, | |
$answerIndex, | |||
$feedbackContent | |||
) |
imports the given feedback content as specific feedback for the given question id and answer index
public
integer | $questionId | |
integer | $answerIndex | |
string | $feedbackContent |
Reimplemented from ilAssQuestionFeedback.
Definition at line 150 of file class.ilAssSingleOptionQuestionFeedback.php.
ilAssSingleOptionQuestionFeedback::initSpecificFormProperties | ( | ilPropertyFormGUI | $form | ) |
initialises a given form object's specific form properties relating to this question type
public
ilPropertyFormGUI | $form |
Reimplemented from ilAssQuestionFeedback.
Definition at line 51 of file class.ilAssSingleOptionQuestionFeedback.php.
ilAssSingleOptionQuestionFeedback::saveSpecificAnswerFeedbackContent | ( | $questionId, | |
$answerIndex, | |||
$feedbackContent | |||
) |
saves SPECIFIC answer feedback content for the given question id and answer index to the database.
public
integer | $questionId | |
integer | $answerIndex | |
string | $feedbackContent |
Reimplemented from ilAssQuestionFeedback.
Definition at line 87 of file class.ilAssSingleOptionQuestionFeedback.php.
ilAssSingleOptionQuestionFeedback::saveSpecificFormProperties | ( | ilPropertyFormGUI | $form | ) |
saves a given form object's specific form properties relating to this question type
public
ilPropertyFormGUI | $form |
Reimplemented from ilAssQuestionFeedback.
Definition at line 62 of file class.ilAssSingleOptionQuestionFeedback.php.
|
protected |
syncs the SPECIFIC feedback from a duplicated question back to the original question
protected
integer | $originalQuestionId | |
integer | $duplicateQuestionId |
Reimplemented from ilAssQuestionFeedback.
Definition at line 123 of file class.ilAssSingleOptionQuestionFeedback.php.