original_string: public function require_yui_module($modules, $function, array $arguments = null, $galleryversion = null, $ondomready = false) {
          if ($galleryversion != null) {
              debugging('The galleryversion parameter to yui_module has been deprecated since Moodle 2.3.', DEBUG_DEVELOPER);
          }
  
          $js = new stdClass;
          $js->modules = (array)$modules;
          $js->function = $function;
          $js->arguments = $arguments;
          $js->ondomready = $ondomready;
          $this->jsyuimodules[] = $js;
      }
code: public function require_yui_module($modules, $function, array $arguments = null, $galleryversion = null, $ondomready = false) {
          if ($galleryversion != null) {
              debugging('The galleryversion parameter to yui_module has been deprecated since Moodle 2.3.', DEBUG_DEVELOPER);
          }
  
          $js = new stdClass;
          $js->modules = (array)$modules;
          $js->function = $function;
          $js->arguments = $arguments;
          $js->ondomready = $ondomready;
          $this->jsyuimodules[] = $js;
      }
code_tokens: public function require_yui_module ( $ modules , $ function , array $ arguments = null , $ galleryversion = null , $ ondomready = false ) { if ( $ galleryversion != null ) { debugging ( 'The galleryversion parameter to yui_module has been deprecated since Moodle 2.3.' , DEBUG_DEVELOPER ) ; } $ js = new stdClass ; $ js -> modules = ( array ) $ modules ; $ js -> function = $ function ; $ js -> arguments = $ arguments ; $ js -> ondomready = $ ondomready ; $ this -> jsyuimodules [ ] = $ js ; }
docstring: Adds a YUI module call that will be added to the page when the button is used.
  
  @param string|array $modules One or more modules to require
  @param string $function The JS function to call
  @param array $arguments An array of arguments to pass to the function
  @param string $galleryversion Deprecated: The gallery version to use
  @param bool $ondomready If true the call is postponed until the DOM is finished loading
docstring_tokens: Adds a YUI module call that will be added to the page when the button is used .