Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9.5
-
Fix Version/s: None
-
Component/s: Patch: CSV export
-
Labels:None
-
Difficulty:Easy
-
Affected Branches:MOODLE_19_STABLE
Description
Patch adds csv export functionality in course reports: outline, participation and statistics.
I did not use new downloads methods from refactored tablelib.php (MDL-14187). I did not have it in my moodle instance (ver. 1.9.5) and I wanted to be some how more economical in code changes adding this feature. So I have just added new method print_csv() to table class and use it similarly to some other exports found in app.
Export in participation report depends on my _ user profile fields in export_ improvement (CONTRIB-2395), but if some does not want profile fields in this export just skip hunks marked by [mod201009281545] in diff file.
Attachments
Issue Links
| This issue has a non-specific relationship to: | ||||
| MDL-14187 | Improve tablelib - improve api and add functionality to download table contents in a variety of formats - XLS, ODS and CSV |
|
|
|
| This issue has been marked as being related by: | ||||
| CONTRIB-2395 | user profile fields in export of quiz results and grades in gradebook |
|
|
|
Michael - I thought a patch might be a little more interesting to play with. Not sure if you have worked with evaluating one in CONTRIB. As usual, if you are too busy or not interested, just reassign it back to me. Thanks for your help. I'm going to try to get a couple chapters reviewed for two books I've been asked to review. Peace - Anthony