[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Rating external API
Copyright: | 2015 Costantino Cito <ccito@cvaconsulting.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 198 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_rating_external:: (3 methods):
get_item_ratings_parameters()
get_item_ratings()
get_item_ratings_returns()
Class: core_rating_external - X-Ref
Rating external functionsget_item_ratings_parameters() X-Ref |
Returns description of get_item_ratings parameters. return: external_function_parameters |
get_item_ratings($contextlevel, $instanceid, $component, $ratingarea, $itemid, $scaleid, $sort) X-Ref |
Retrieve a list of ratings for a given item (forum post etc) param: string $contextlevel course, module, user... param: int $instanceid the instance if for the context element param: string $component the name of the component param: string $ratingarea rating area param: int $itemid the item id param: int $scaleid the scale id param: string $sort sql order (firstname, rating or timemodified) return: array Result and possible warnings |
get_item_ratings_returns() X-Ref |
Returns description of get_item_ratings result values. return: external_single_structure |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |