original_string: public function initialise_js(moodle_page $page) {
          foreach ($this->jsyuimodules as $js) {
              $page->requires->yui_module($js->modules, $js->function, $js->arguments, null, $js->ondomready);
          }
          foreach ($this->jsinitcalls as $js) {
              $page->requires->js_init_call($js->function, $js->extraarguments, $js->ondomready, $js->module);
          }
          foreach ($this->jsstrings as $string) {
              $page->requires->strings_for_js($string->identifiers, $string->component, $string->a);
          }
      }
code: public function initialise_js(moodle_page $page) {
          foreach ($this->jsyuimodules as $js) {
              $page->requires->yui_module($js->modules, $js->function, $js->arguments, null, $js->ondomready);
          }
          foreach ($this->jsinitcalls as $js) {
              $page->requires->js_init_call($js->function, $js->extraarguments, $js->ondomready, $js->module);
          }
          foreach ($this->jsstrings as $string) {
              $page->requires->strings_for_js($string->identifiers, $string->component, $string->a);
          }
      }
code_tokens: public function initialise_js ( moodle_page $ page ) { foreach ( $ this -> jsyuimodules as $ js ) { $ page -> requires -> yui_module ( $ js -> modules , $ js -> function , $ js -> arguments , null , $ js -> ondomready ) ; } foreach ( $ this -> jsinitcalls as $ js ) { $ page -> requires -> js_init_call ( $ js -> function , $ js -> extraarguments , $ js -> ondomready , $ js -> module ) ; } foreach ( $ this -> jsstrings as $ string ) { $ page -> requires -> strings_for_js ( $ string -> identifiers , $ string -> component , $ string -> a ) ; } }
docstring: Initialises the JS that is required by this button
  
  @param moodle_page $page
docstring_tokens: Initialises the JS that is required by this button