|
Moodle
2.2.1
http://www.collinsharper.com
|

Public Member Functions | |
| __construct ($id, $answer, $fraction, $feedback, $feedbackformat) | |
Data Fields | |
| $id | |
| $answer | |
| $answerformat = FORMAT_PLAIN | |
| $fraction | |
| $feedback | |
| $feedbackformat | |
Class to represent a question answer, loaded from the question_answers table in the database.
Definition at line 730 of file questionbase.php.
| __construct | ( | $ | id, |
| $ | answer, | ||
| $ | fraction, | ||
| $ | feedback, | ||
| $ | feedbackformat | ||
| ) |
Constructor.
| int | $id | the answer. |
| string | $answer | the answer. |
| int | $answerformat | the format of the answer. |
| number | $fraction | the fraction this answer is worth. |
| string | $feedback | the feedback for this answer. |
| int | $feedbackformat | the format of the feedback. |
Definition at line 758 of file questionbase.php.
| $answer |
Definition at line 735 of file questionbase.php.
| $answerformat = FORMAT_PLAIN |
Definition at line 738 of file questionbase.php.
| $feedback |
Definition at line 744 of file questionbase.php.
| $feedbackformat |
Definition at line 747 of file questionbase.php.
| $fraction |
Definition at line 741 of file questionbase.php.
| $id |
Definition at line 732 of file questionbase.php.