You are here

function flickr_photosets_getinfo in Flickr 7

Gets information about a photoset.

Parameters

string $photoset_id: ID of the photoset to get information about.

Return value

array Response from the flickr method flickr.photosets.getInfo. (https://www.flickr.com/services/api/flickr.photosets.getInfo.html)

7 calls to flickr_photosets_getinfo()
flickr_album in ./flickr.inc
Render multiple photos as an album.
flickr_sets_photoset in sets/flickr_sets.module
Return a user's photos from a given set.
theme_flickrfield_field_formatter in field/flickrfield.module
Basic flickrfield formatter.
theme_flickrfield_formatter_photoset_flickrcomsetlink in field/flickrfield.module
Theme a Flickr photoset as a simple link to the photoset page on Flickr.com.
theme_flickrfield_formatter_photoset_primaryphoto in field/flickrfield.module
Theme a Flickr photo set as the primary photo of that set.

... See full list

File

./flickr.api.inc, line 135
Flickr API functions.

Code

function flickr_photosets_getinfo($photoset_id) {
  $response = flickr_request('flickr.photosets.getInfo', array(
    'photoset_id' => $photoset_id,
  ));
  if ($response) {
    return $response['photoset'];
  }
  return FALSE;
}