Method | Description | |
---|---|---|
countBy ( array $criteria ) : integer | Get rating count | |
flush ( ) | Flush method | |
getArticleRating ( $articleId ) : array | Get rating stats for one article | |
getPrototype ( ) : |
Get new instance of the rating | |
save ( |
Method for saving a rating | |
totalRatingBy ( array $criteria ) : integer | Get total rating score | |
update ( |
Method for updating a rating |
public getArticleRating ( $articleId ) : array | ||
return | array |
public getPrototype ( ) : |
||
return |
public totalRatingBy ( array $criteria ) : integer | ||
$criteria | array | |
return | integer |