I'd like to be able to export custom profile field data in surveys. In order to do that, the core would have to be changed, it seems. I'd like to add this functionality to the core, but I'm not sure which way I should implement it.
There's already a setting "grade_export_customprofilefields" in which you can put a comma-separated list of custom profile field shortnames. These fields then get exported in grade reports. I need something like this, but for other plugins, e.g. mod_survey. My proposal would be to either:
- Rename the setting "grade_export_customprofilefields" into "export_customprofilefields" so that it's okay for other plugins to use it as well.
- Have an analogous setting "survey_export_customprofilefields" etc. for each plugin.