glFusion Wiki

Site Tools


glfusion:development:api:rating

glFusion Rating Library

glFusion provides a set of APIs to allow plugin to use the star rating system.

Rating APIs
RATING_ratingBar Provides HTML for rating bar
RATING_getVoteData Return an array of all voting records
RATING_getRating Returns the rating data for an item
RATING_hasVoted Check if user has already rated for an item
RATING_resetRating Removes all rating data for an item
RATING_deleteVote Deletes a specific rating entry
RATING_addVote Add a new rating to an item
RATING_getRatedIds Retrieve an array of item_id's the current user has rated
glfusion/development/api/rating.txt · Last modified: 2017/04/12 21:13 (external edit)

Page Tools