ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilAssSingleChoiceFeedback Class Reference
+ Inheritance diagram for ilAssSingleChoiceFeedback:
+ Collaboration diagram for ilAssSingleChoiceFeedback:

Data Fields

const SPECIFIC_QUESTION_TABLE_NAME = 'qpl_qst_sc'
 table name for specific feedback
- Data Fields inherited from ilAssConfigurableMultiOptionQuestionFeedback
const FEEDBACK_SETTING_ALL = 1
const FEEDBACK_SETTING_CHECKED = 2
const FEEDBACK_SETTING_CORRECT = 3
- Data Fields inherited from ilAssMultiOptionQuestionFeedback
const TABLE_NAME_SPECIFIC_FEEDBACK = 'qpl_fb_specific'
 table name for specific feedback
- 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 Member Functions

 getSpecificQuestionTableName ()
 returns the table name for specific question itself
- Protected Member Functions inherited from ilAssConfigurableMultiOptionQuestionFeedback
 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 ilAssMultiOptionQuestionFeedback
 getSpecificAnswerFeedbackId ($questionId, $answerIndex)
 returns the SPECIFIC answer feedback ID for a given question id and answer index.
 getSpecificAnswerFeedbackIdByAnswerIndexMap ($questionId)
 returns an array mapping feedback ids to answer indexes for all answer options of question
 getSpecificFeedbackTableName ()
 returns the table name for specific feedback
 getAnswerOptionsByAnswerIndex ()
 returns the answer options mapped by answer index (can be overwritten by concrete question type class)
 buildAnswerOptionLabel ($index, $answer)
 builds an answer option label from given (mixed type) index and answer (can be overwritten by concrete question types)
 getSpecificAnswerFeedbackPageObjectId ($questionId, $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)
- 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

- Public Member Functions inherited from ilAssConfigurableMultiOptionQuestionFeedback
 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
 isSaveableInPageObjectEditingMode ()
 returns the fact that the feedback editing form is saveable in page object editing mode, because this question type has additional feedback settings
 saveSpecificFeedbackSetting ($questionId, $specificFeedbackSetting)
 saves the given specific feedback setting for the given question id to the db.
- 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
- Protected Attributes inherited from ilAssQuestionFeedback
 $questionOBJ = null
 $ctrl = null
 $db = null
 $lng = null
 $page_obj_output_mode = "presentation"

Detailed Description

Definition at line 14 of file class.ilAssSingleChoiceFeedback.php.

Member Function Documentation

ilAssSingleChoiceFeedback::getSpecificQuestionTableName ( )
protected

returns the table name for specific question itself

Returns
string $specificFeedbackTableName

Reimplemented from ilAssConfigurableMultiOptionQuestionFeedback.

Definition at line 26 of file class.ilAssSingleChoiceFeedback.php.

References SPECIFIC_QUESTION_TABLE_NAME.

Field Documentation

const ilAssSingleChoiceFeedback::SPECIFIC_QUESTION_TABLE_NAME = 'qpl_qst_sc'

table name for specific feedback

Definition at line 19 of file class.ilAssSingleChoiceFeedback.php.

Referenced by getSpecificQuestionTableName().


The documentation for this class was generated from the following file: