示例#1
0
文件: Ratings.php 项目: nirkbirk/site
 public static function getRatingForScore($score)
 {
     return RatingsQuery::create()->where('Ratings.Threshold <= ?', $score)->orderByThreshold("DESC")->findOne();
 }