コード例 #1
0
ファイル: responses_options.php プロジェクト: JP-Git/moodle
    public function setup_from_form_data($fromform) {
        parent::setup_from_form_data($fromform);

        $this->showqtext     = $fromform->qtext;
        $this->showresponses = $fromform->resp;
        $this->showright     = $fromform->right;
    }
コード例 #2
0
ファイル: responses_options.php プロジェクト: evltuma/moodle
 public function setup_from_form_data($fromform)
 {
     parent::setup_from_form_data($fromform);
     $this->showqtext = $fromform->qtext;
     $this->showresponses = $fromform->resp;
     $this->showright = $fromform->right;
     if (quiz_allows_multiple_tries($this->quiz)) {
         $this->whichtries = $fromform->whichtries;
     }
 }
コード例 #3
0
ファイル: overview_options.php プロジェクト: evltuma/moodle
 public function setup_from_form_data($fromform)
 {
     parent::setup_from_form_data($fromform);
     $this->onlyregraded = !empty($fromform->onlyregraded);
     $this->slotmarks = $fromform->slotmarks;
 }