Issue Details (XML | Word | Printable)

Key: MDL-19065
Type: Sub-task Sub-task
Status: Open Open
Priority: Minor Minor
Assignee: Petr Skoda
Reporter: Stacey Walker
Votes: 0
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-17045

Proposed Module API change to enable RSS feed for recent activity

Created: 05/May/09 08:10 AM   Updated: 05/May/09 08:10 AM
Return to search
Component/s: Assignment, Chat, Choice, Exercise, Feedback, Forum, Glossary, Hotpot, Journal, LAMS, Lesson, Quiz, Resource, SCORM, Survey, Wiki (1.x), Wiki (2.x), Workshop
Affects Version/s: 2.0
Fix Version/s: None

File Attachments: 1. File modules_updates.diff (9 kB)


Participants: Petr Skoda and Stacey Walker
Security Level: None
Affected Branches: MOODLE_20_STABLE


 Description  « Hide
While developing an RSS feed for recent activity we altered the way the modules were getting and displaying their recent activity.

The change was splitting up the $modname._print_recent_activity(..) function into a $modname._get_recent_activity(..) and $modname._print_recent_activity(..) so that the RSS feed could use the modules get function and the existing print functions could still be called from within course/lib.php for displaying the recent activity block.

We would like to suggest this as a possible API change for Modules in 2.0.

Attached is a patch for the suggested API change using the Forum Module, it is a follow up of the original Tracker issue #MDL-17045 and supplied patch.

Thanks,
Stacey Walker

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
No changes have yet been made on this issue.