public function init_first_step(question_attempt_step $step, $variant)
 {
     $step->set_behaviour_var('_applypenalties', (int) $this->applypenalties);
     parent::init_first_step($step, $variant);
 }
コード例 #2
0
 public function init_first_step(question_attempt_step $step, $variant)
 {
     parent::init_first_step($step, $variant);
     $step->set_behaviour_var('_nonresp_hintbtns', true);
 }