예제 #1
0
 public function getPhoto($photoId, $cacheMinutes = null, $reduced = true)
 {
     $filter = new UserPhotosFilter();
     $filter->setPhotoId($photoId);
     $photos = $this->getPhotos($filter, null, $cacheMinutes, $reduced);
     if (count($photos)) {
         return $photos[0];
     }
     return false;
 }
 public function getPhoto($photoId)
 {
     $filter = new UserPhotosFilter();
     $filter->setPhotoId($photoId);
     $photos = $this->getPhotos($filter);
     if (count($photos)) {
         return $photos[0];
     }
     return false;
 }