コード例 #1
0
ファイル: photo_service.php プロジェクト: hardikamutech/loov
 public function countPhotosByListType($listType)
 {
     switch ($listType) {
         case 'latest':
         default:
             return (int) $this->photoDao->countAll();
     }
 }