function qformat_default::setStoponerror in Quiz 6.6
Same name and namespace in other branches
- 6.5 includes/moodle/question/format.php \qformat_default::setStoponerror()
set stoponerror
Parameters
bool stoponerror stops database write if any errors reported:
File
- includes/
moodle/ question/ format.php, line 144
Class
- qformat_default
- Base class for question import and export formats.
Code
function setStoponerror($stoponerror) {
$this->stoponerror = $stoponerror;
}