Example #1
0
    public function setup_from_user_preferences() {
        parent::setup_from_user_preferences();

        $this->showqtext     = get_user_preferences('quiz_report_responses_qtext', $this->showqtext);
        $this->showresponses = get_user_preferences('quiz_report_responses_resp',  $this->showresponses);
        $this->showright     = get_user_preferences('quiz_report_responses_right', $this->showright);
    }
Example #2
0
 public function setup_from_user_preferences()
 {
     parent::setup_from_user_preferences();
     $this->showqtext = get_user_preferences('quiz_report_responses_qtext', $this->showqtext);
     $this->showresponses = get_user_preferences('quiz_report_responses_resp', $this->showresponses);
     $this->showright = get_user_preferences('quiz_report_responses_right', $this->showright);
     if (quiz_allows_multiple_tries($this->quiz)) {
         $this->whichtries = get_user_preferences('quiz_report_responses_which_tries', $this->whichtries);
     }
 }
Example #3
0
 public function setup_from_user_preferences()
 {
     parent::setup_from_user_preferences();
     $this->slotmarks = get_user_preferences('quiz_overview_slotmarks', $this->slotmarks);
 }