public function build_table() { if ($this->rawdata) { $this->strtimeformat = str_replace(',', ' ', get_string('strftimedatetime')); parent::build_table(); } }
public function query_db($pagesize, $useinitialsbar = true) { parent::query_db($pagesize, $useinitialsbar); if ($this->detailedmarks && has_capability('mod/quiz:regrade', $this->context)) { $this->regradedqs = $this->get_regraded_questions(); } }