public function init_first_step(question_attempt_step $step, $variant) { $step->set_behaviour_var('_applypenalties', (int) $this->applypenalties); parent::init_first_step($step, $variant); }
public function init_first_step(question_attempt_step $step, $variant) { parent::init_first_step($step, $variant); $step->set_behaviour_var('_nonresp_hintbtns', true); }