original_string: public function get_html_head_contributions($page = 'all', $showall = false) {
          if ($showall) {
              $page = 'all';
          }
          $result = '';
          foreach ($this->get_slots($page) as $slot) {
              $result .= $this->quba->render_question_head_html($slot);
          }
          $result .= question_engine::initialise_js();
          return $result;
      }
code: public function get_html_head_contributions($page = 'all', $showall = false) {
          if ($showall) {
              $page = 'all';
          }
          $result = '';
          foreach ($this->get_slots($page) as $slot) {
              $result .= $this->quba->render_question_head_html($slot);
          }
          $result .= question_engine::initialise_js();
          return $result;
      }
code_tokens: public function get_html_head_contributions ( $ page = 'all' , $ showall = false ) { if ( $ showall ) { $ page = 'all' ; } $ result = '' ; foreach ( $ this -> get_slots ( $ page ) as $ slot ) { $ result .= $ this -> quba -> render_question_head_html ( $ slot ) ; } $ result .= question_engine :: initialise_js ( ) ; return $ result ; }
docstring: Initialise the JS etc. required all the questions on a page.
  @param mixed $page a page number, or 'all'.
docstring_tokens: Initialise the JS etc . required all the questions on a page .