PageRating::update_ratings
updates Page Rating for a Page and saves it with the Page.
Updates SiteTree.PageRating field ... if $siteTreeID is 0 then ALL pages are updated ...
Signature
public function update_ratings([integer
$siteTreeID = 0] )
Parameters
$siteTreeID
— integer