ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilAssSingleOptionQuestionFeedback.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4require_once 'Modules/TestQuestionPool/classes/feedback/class.ilAssQuestionFeedback.php';
5
18{
29 public function getSpecificAnswerFeedbackTestPresentation($questionId, $questionIndex, $answerIndex)
30 {
31 return null;
32 }
33
42 {
43 }
44
53 {
54 }
55
64 {
65 }
66
76 public function getSpecificAnswerFeedbackContent($questionId, $questionIndex, $answerIndex)
77 {
78 return '';
79 }
80
89 public function getAllSpecificAnswerFeedbackContents($questionId)
90 {
91 return '';
92 }
93
104 public function saveSpecificAnswerFeedbackContent($questionId, $questionIndex, $answerIndex, $feedbackContent)
105 {
106 return null;
107 }
108
117 public function deleteSpecificAnswerFeedbacks($questionId, $isAdditionalContentEditingModePageObject)
118 {
119 }
120
129 protected function duplicateSpecificFeedback($originalQuestionId, $duplicateQuestionId)
130 {
131 }
132
140 protected function syncSpecificFeedback($originalQuestionId, $duplicateQuestionId)
141 {
142 }
143
154 public function getSpecificAnswerFeedbackExportPresentation($questionId, $questionIndex, $answerIndex)
155 {
156 return null;
157 }
158
169 public function importSpecificAnswerFeedback($questionId, $questionIndex, $answerIndex, $feedbackContent)
170 {
171 }
172
177 protected function isSpecificAnswerFeedbackId($feedbackId)
178 {
179 return false;
180 }
181}
An exception for terminatinating execution or to throw for unit testing.
getSpecificAnswerFeedbackTestPresentation($questionId, $questionIndex, $answerIndex)
returns the html of SPECIFIC feedback for the given question id and answer index for test presentatio...
getAllSpecificAnswerFeedbackContents($questionId)
returns the SPECIFIC feedback content for a given question id and answer index.
getSpecificAnswerFeedbackContent($questionId, $questionIndex, $answerIndex)
returns the SPECIFIC answer feedback content for a given question id and answer index.
duplicateSpecificFeedback($originalQuestionId, $duplicateQuestionId)
duplicates the SPECIFIC feedback relating to the given original question id and saves it for the give...
saveSpecificFormProperties(ilPropertyFormGUI $form)
saves a given form object's specific form properties relating to this question type
importSpecificAnswerFeedback($questionId, $questionIndex, $answerIndex, $feedbackContent)
imports the given feedback content as specific feedback for the given question id and answer index
completeSpecificFormProperties(ilPropertyFormGUI $form)
completes a given form object with the specific form properties required by this question type
saveSpecificAnswerFeedbackContent($questionId, $questionIndex, $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 i...
initSpecificFormProperties(ilPropertyFormGUI $form)
initialises a given form object's specific form properties relating to this question type
syncSpecificFeedback($originalQuestionId, $duplicateQuestionId)
syncs the SPECIFIC feedback from a duplicated question back to the original question
getSpecificAnswerFeedbackExportPresentation($questionId, $questionIndex, $answerIndex)
returns the generic feedback export presentation for given question id either for solution completed ...
This class represents a property form user interface.