original_string: public function get_defaultsetting() {
          $this->load_choices();
          $defaultsetting = parent::get_defaultsetting();
          if (empty($defaultsetting)) {
              return array('$@NONE@$');
          } else if (array_key_exists($defaultsetting, $this->choices)) {
                  return $defaultsetting;
              } else {
                  return '';
              }
      }
code: public function get_defaultsetting() {
          $this->load_choices();
          $defaultsetting = parent::get_defaultsetting();
          if (empty($defaultsetting)) {
              return array('$@NONE@$');
          } else if (array_key_exists($defaultsetting, $this->choices)) {
                  return $defaultsetting;
              } else {
                  return '';
              }
      }
code_tokens: public function get_defaultsetting ( ) { $ this -> load_choices ( ) ; $ defaultsetting = parent :: get_defaultsetting ( ) ; if ( empty ( $ defaultsetting ) ) { return array ( '$@NONE@$' ) ; } else if ( array_key_exists ( $ defaultsetting , $ this -> choices ) ) { return $ defaultsetting ; } else { return '' ; } }
docstring: Returns the default setting for class
  
  @return mixed Array, or string. Empty string if no default
docstring_tokens: Returns the default setting for class