original_string: public function export_model(string $zipfilename, bool $includeweights = true) : string {
  
          \core_analytics\manager::check_can_manage_models();
  
          $modelconfig = new model_config($this);
          return $modelconfig->export($zipfilename, $includeweights);
      }
code: public function export_model(string $zipfilename, bool $includeweights = true) : string {
  
          \core_analytics\manager::check_can_manage_models();
  
          $modelconfig = new model_config($this);
          return $modelconfig->export($zipfilename, $includeweights);
      }
code_tokens: public function export_model ( string $ zipfilename , bool $ includeweights = true ) : string { \ core_analytics \ manager :: check_can_manage_models ( ) ; $ modelconfig = new model_config ( $ this ) ; return $ modelconfig -> export ( $ zipfilename , $ includeweights ) ; }
docstring: Exports the model data to a zip file.
  
  @param string $zipfilename
  @param bool $includeweights Include the model weights if available
  @return string Zip file path
docstring_tokens: Exports the model data to a zip file .