Ejemplo n.º 1
0
 protected function render_restart_preview_link($output)
 {
     if (!$this->attemptobj->is_own_preview()) {
         return '';
     }
     return $output->restart_preview_button(new moodle_url($this->attemptobj->start_attempt_url(), array('forcenew' => true)));
 }