示例#1
0
 /**
  * Counts photos
  *
  * @param string $type
  * @return int
  */
 public function countPhotosFeature($type, $checkPrivacy = true)
 {
     if ($type == 'toprated') {
         return BOL_RateService::getInstance()->findMostRatedEntityCount('photo');
     }
     return $this->advancedphotoDao->countPhotosFeature($type, $checkPrivacy);
 }