Метод | Описание | |
---|---|---|
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 | ||
Результат | array |
public getPrototype ( ) : |
||
Результат |
public totalRatingBy ( array $criteria ) : integer | ||
$criteria | array | |
Результат | integer |