property cmoptions::$attemptonlast in Quiz 6.5
Same name and namespace in other branches
- 6.6 includes/moodle/lib/questionlib.php \cmoptions::attemptonlast
Whether a new attempt should be based on the previous one. If true then a new attempt will start in a state where all responses are set to the last responses from the previous attempt.
File
- includes/
moodle/ lib/ questionlib.php, line 201
Class
- cmoptions
- This holds the options that are set by the course module
Code
var $attemptonlast = false;