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

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

        $this->onlyregraded = optional_param('regradefilter', $this->onlyregraded, PARAM_BOOL);
        $this->slotmarks    = optional_param('detailedmarks', $this->slotmarks, PARAM_BOOL);
    }