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


Public Member Functions | |
| is_active () | |
| is_finished () | |
| get_state_class ($showcorrectness) | |
Definition at line 308 of file states.php.
| get_state_class | ( | $ | showcorrectness | ) |
Return the name of an appropriate string to look up in the question language pack for a state. This is used, for example, by question_behaviour::get_state_string(). However, behaviours sometimes change this default string for soemthing more specific.
| bool | $showcorrectness | Whether right/partial/wrong states should be distinguised, or just treated as 'complete'. |
Reimplemented from question_state.
Definition at line 315 of file states.php.
| is_active | ( | ) |
Is this state one of the ones that mean the question attempt is in progress? That is, started, but no finished.
Reimplemented from question_state.
Definition at line 309 of file states.php.
| is_finished | ( | ) |
Is this state one of the ones that mean the question attempt is finished? That is, no further interaction possible, apart from manual grading.
Reimplemented from question_state.
Definition at line 312 of file states.php.