예제 #1
0
 protected function get_contains_marked_out_of_summary()
 {
     $max = format_float($this->quba->get_question_max_mark($this->slot), $this->displayoptions->markdp);
     return new question_pattern_expectation('/' . preg_quote(get_string('markedoutofmax', 'question', $max), '/') . '/');
 }
 /**
  * Get the total points for this slot
  *
  * @param int $slot
  * @return number
  */
 public function get_slot_max_mark($slot)
 {
     return $this->quba->get_question_max_mark($slot);
 }