Function printRating
Prints the rating star form and the current rating Insert this function call in the page script where you want the star ratings to appear.
NOTE: If $vote is false or the rating_recast option is false then the stars shown will be the rating. Otherwise the stars will show the value of the viewer's last vote.
Package: plugins\rating
Author: Stephen Billard (sbillard), Malte Müller (acrylian)
Located at zp-extensions/rating.php
Author: Stephen Billard (sbillard), Malte Müller (acrylian)
Located at zp-extensions/rating.php
boolean |
$vote = 3 |
set to false to disable voting |
object |
$object = NULL |
optional object for the ratings target. If not set, the current page object is used |
boolean |
$text = true |
if false, no annotation text is displayed |