ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 
4 require_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 }
getSpecificAnswerFeedbackContent($questionId, $questionIndex, $answerIndex)
returns the SPECIFIC answer feedback content for a given question id and answer index.
importSpecificAnswerFeedback($questionId, $questionIndex, $answerIndex, $feedbackContent)
imports the given feedback content as specific feedback for the given question id and answer index ...
This class represents a property form user interface.
saveSpecificAnswerFeedbackContent($questionId, $questionIndex, $answerIndex, $feedbackContent)
saves SPECIFIC answer feedback content for the given question id and answer index to the database...
getSpecificAnswerFeedbackTestPresentation($questionId, $questionIndex, $answerIndex)
returns the html of SPECIFIC feedback for the given question id and answer index for test presentatio...
initSpecificFormProperties(ilPropertyFormGUI $form)
initialises a given form object&#39;s specific form properties relating to this question type ...
completeSpecificFormProperties(ilPropertyFormGUI $form)
completes a given form object with the specific form properties required by this question type ...
getAllSpecificAnswerFeedbackContents($questionId)
returns the SPECIFIC feedback content for a given question id and answer index.
deleteSpecificAnswerFeedbacks($questionId, $isAdditionalContentEditingModePageObject)
deletes all SPECIFIC answer feedback contents (and page objects if required) for the given question i...
if(isset($_POST['submit'])) $form
duplicateSpecificFeedback($originalQuestionId, $duplicateQuestionId)
duplicates the SPECIFIC feedback relating to the given original question id and saves it for the give...
getSpecificAnswerFeedbackExportPresentation($questionId, $questionIndex, $answerIndex)
returns the generic feedback export presentation for given question id either for solution completed ...
saveSpecificFormProperties(ilPropertyFormGUI $form)
saves a given form object&#39;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 ...