◆ add()
◆ current()
ilAssSpecificFeedbackIdentifierList::current |
( |
| ) |
|
◆ getSpecificFeedbackTableName()
ilAssSpecificFeedbackIdentifierList::getSpecificFeedbackTableName |
( |
| ) |
|
|
protected |
◆ key()
ilAssSpecificFeedbackIdentifierList::key |
( |
| ) |
|
◆ load()
ilAssSpecificFeedbackIdentifierList::load |
( |
int |
$questionId | ) |
|
Definition at line 39 of file class.ilAssSpecificFeedbackIdentifierList.php.
References $DIC, $res, and add().
43 $res = $DIC->database()->queryF(
44 "SELECT feedback_id, question, answer FROM {$this->getSpecificFeedbackTableName()} WHERE question_fi = %s",
49 while ($row = $DIC->database()->fetchAssoc(
$res)) {
52 $identifier->setQuestionId($questionId);
54 $identifier->setQuestionIndex($row[
'question']);
55 $identifier->setAnswerIndex($row[
'answer']);
57 $identifier->setFeedbackId($row[
'feedback_id']);
59 $this->
add($identifier);
add(ilAssSpecificFeedbackIdentifier $identifier)
◆ next()
ilAssSpecificFeedbackIdentifierList::next |
( |
| ) |
|
◆ rewind()
ilAssSpecificFeedbackIdentifierList::rewind |
( |
| ) |
|
◆ valid()
ilAssSpecificFeedbackIdentifierList::valid |
( |
| ) |
|
◆ $map
array ilAssSpecificFeedbackIdentifierList::$map = [] |
|
protected |
The documentation for this class was generated from the following file: