original_string: public function initialise_timer($timerstartvalue, $ispreview) {
          $options = array($timerstartvalue, (bool)$ispreview);
          $this->page->requires->js_init_call('M.mod_quiz.timer.init', $options, false, quiz_get_js_module());
      }
code: public function initialise_timer($timerstartvalue, $ispreview) {
          $options = array($timerstartvalue, (bool)$ispreview);
          $this->page->requires->js_init_call('M.mod_quiz.timer.init', $options, false, quiz_get_js_module());
      }
code_tokens: public function initialise_timer ( $ timerstartvalue , $ ispreview ) { $ options = array ( $ timerstartvalue , ( bool ) $ ispreview ) ; $ this -> page -> requires -> js_init_call ( 'M.mod_quiz.timer.init' , $ options , false , quiz_get_js_module ( ) ) ; }
docstring: Output the JavaScript required to initialise the countdown timer.
  @param int $timerstartvalue time remaining, in seconds.
docstring_tokens: Output the JavaScript required to initialise the countdown timer .