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


Public Member Functions | |
| set_state ($state) | |
| set_fraction ($fraction) | |
| set_qt_var ($name, $value) | |
| set_behaviour_var ($name, $value) | |
A subclass of question_attempt_step that cannot be modified.
Definition at line 449 of file questionattemptstep.php.
| set_behaviour_var | ( | $ | name, |
| $ | value | ||
| ) |
Set a cached behaviour variable.
| string | $name | the name of the variable to set. Must match _[a-z][a-z0-9]*. |
| string | $value | the value to set. |
Reimplemented from question_attempt_step.
Definition at line 459 of file questionattemptstep.php.
| set_fraction | ( | $ | fraction | ) |
Set the fraction. Normally only called by behaviours.
| null | number | $fraction | the fraction to set. |
Reimplemented from question_attempt_step.
Definition at line 453 of file questionattemptstep.php.
| set_qt_var | ( | $ | name, |
| $ | value | ||
| ) |
Set a cached question type variable.
| string | $name | the name of the variable to set. Must match _[a-z][a-z0-9]*. |
| string | $value | the value to set. |
Reimplemented from question_attempt_step.
Definition at line 456 of file questionattemptstep.php.
| set_state | ( | $ | state | ) |
Set the state. Normally only called by behaviours.
| question_state | $state | one of the question_state constants. |
Reimplemented from question_attempt_step.
Definition at line 450 of file questionattemptstep.php.