original_string: public function update_group($name, $config) {
          if (!isset($this->groups[$name])) {
              throw new coding_exception('The Moodle YUI module does not exist. You must define the moodle module config using YUI_config->add_module_config first.');
          }
          $this->groups[$name] = $config;
      }
code: public function update_group($name, $config) {
          if (!isset($this->groups[$name])) {
              throw new coding_exception('The Moodle YUI module does not exist. You must define the moodle module config using YUI_config->add_module_config first.');
          }
          $this->groups[$name] = $config;
      }
code_tokens: public function update_group ( $ name , $ config ) { if ( ! isset ( $ this -> groups [ $ name ] ) ) { throw new coding_exception ( 'The Moodle YUI module does not exist. You must define the moodle module config using YUI_config->add_module_config first.' ) ; } $ this -> groups [ $ name ] = $ config ; }
docstring: Update an existing group configuration
  
  Note, any existing configuration for that group will be wiped out.
  This includes module configuration.
  
  @param String $name The name of the group. This must be unique and
  not previously used.
  @param Array $config The configuration for this group.
  @return void
docstring_tokens: Update an existing group configuration