[AMOS commit] MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes Committed into Git: 2011-05-11 05:32 UTC

[AMOS commit] MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes Committed into Git: 2011-05-11 05:32 UTC

by AMOS bot -
Number of replies: 0
Author: Sam Hemelryk
MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes
* Added the component and ratingarea fields and implemented it throughout
the rating API as mandatory fields
* Cleanup rating indexes
* Upgrade forum/data/glossary ratings
* Moved the logic in the render_rating method to methods of the rating object.
* Added new callback for checking ratingareas
* Cleaned comments here and there
* Mark the xxx_get_participants methods as deprecated
* Refactor rate_ajax and ratingsuser_can_view_aggregate methods
* Cleaned up rating/index.php to use html_table object and moved inline styles to CSS.
* Added missing properties of the rating object that were being set throughout the rating
API.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=2b04c41c5894b6bd65501adb7674e7c6e26c0b36
http://github.com/moodle/moodle/commit/2b04c41c5894b6bd65501adb7674e7c6e26c0b36