예제 #1
0
 public function get_initial_form_data()
 {
     $toform = parent::get_initial_form_data();
     $toform->onlyregraded = $this->onlyregraded;
     $toform->slotmarks = $this->slotmarks;
     return $toform;
 }
예제 #2
0
    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;
    }
예제 #3
0
 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;
 }