original_string: public function load_choices() {
          if (is_array($this->choices)) {
              return true;
          }
          $this->choices = array();
  
          if ($plugins = core_component::get_plugin_list('gradeexport')) {
              foreach($plugins as $plugin => $unused) {
                  $this->choices[$plugin] = get_string('pluginname', 'gradeexport_'.$plugin);
              }
          }
          return true;
      }
code: public function load_choices() {
          if (is_array($this->choices)) {
              return true;
          }
          $this->choices = array();
  
          if ($plugins = core_component::get_plugin_list('gradeexport')) {
              foreach($plugins as $plugin => $unused) {
                  $this->choices[$plugin] = get_string('pluginname', 'gradeexport_'.$plugin);
              }
          }
          return true;
      }
code_tokens: public function load_choices ( ) { if ( is_array ( $ this -> choices ) ) { return true ; } $ this -> choices = array ( ) ; if ( $ plugins = core_component :: get_plugin_list ( 'gradeexport' ) ) { foreach ( $ plugins as $ plugin => $ unused ) { $ this -> choices [ $ plugin ] = get_string ( 'pluginname' , 'gradeexport_' . $ plugin ) ; } } return true ; }
docstring: Load the available choices for the multicheckbox
  
  @return bool always returns true
docstring_tokens: Load the available choices for the multicheckbox