public function get_initial_form_data() { $toform = parent::get_initial_form_data(); $toform->onlyregraded = $this->onlyregraded; $toform->slotmarks = $this->slotmarks; return $toform; }
public function get_initial_form_data() { $toform = parent::get_initial_form_data(); $toform->qtext = $this->showqtext; $toform->resp = $this->showresponses; $toform->right = $this->showright; return $toform; }
public function get_initial_form_data() { $toform = parent::get_initial_form_data(); $toform->qtext = $this->showqtext; $toform->resp = $this->showresponses; $toform->right = $this->showright; if (quiz_allows_multiple_tries($this->quiz)) { $toform->whichtries = $this->whichtries; } return $toform; }