◆ add()
◆ current()
ilAssSpecificFeedbackIdentifierList::current |
( |
| ) |
|
◆ getSpecificFeedbackTableName()
ilAssSpecificFeedbackIdentifierList::getSpecificFeedbackTableName |
( |
| ) |
|
|
protected |
◆ key()
ilAssSpecificFeedbackIdentifierList::key |
( |
| ) |
|
◆ load()
ilAssSpecificFeedbackIdentifierList::load |
( |
|
$questionId | ) |
|
- Parameters
-
Definition at line 33 of file class.ilAssSpecificFeedbackIdentifierList.php.
References $DIC, $res, $row, and add().
37 $res = $DIC->database()->queryF(
38 "SELECT feedback_id, question, answer FROM {$this->getSpecificFeedbackTableName()} WHERE question_fi = %s",
43 $feedbackIdByAnswerIndexMap = array();
45 while (
$row = $DIC->database()->fetchAssoc(
$res)) {
48 $identifier->setQuestionId($questionId);
50 $identifier->setQuestionIndex(
$row[
'question']);
51 $identifier->setAnswerIndex(
$row[
'answer']);
53 $identifier->setFeedbackId(
$row[
'feedback_id']);
55 $this->
add($identifier);
add(ilAssSpecificFeedbackIdentifier $identifier)
foreach($_POST as $key=> $value) $res
◆ next()
ilAssSpecificFeedbackIdentifierList::next |
( |
| ) |
|
◆ rewind()
ilAssSpecificFeedbackIdentifierList::rewind |
( |
| ) |
|
◆ valid()
ilAssSpecificFeedbackIdentifierList::valid |
( |
| ) |
|
◆ $map
ilAssSpecificFeedbackIdentifierList::$map = array() |
|
protected |
The documentation for this class was generated from the following file: