You are here

function flickr_photoset_get_info in Flickr 6

Same name and namespace in other branches
  1. 5 flickr.inc \flickr_photoset_get_info()

Parameters

$photoset_id: id of the photoset to get information about

Return value

response from the flickr method flickr.photosets.getInfo (http://www.flickr.com/services/api/flickr.photosets.getInfo.html)

10 calls to flickr_photoset_get_info()
flickr_filter_callback_photoset in filter/flickr_filter.module
Filter callback for a photoset.
flickr_get_info_by_url in ./flickr.inc
Given the URL to a flickr asset (set or photo), return info about that asset.
flickr_sets_photoset in sets/flickr_sets.module
theme_flickrfield_field_formatter in field/flickrfield.module
Basic flickrfield formatter.
theme_flickrfield_formatter_photoset_flickrcomsetlink in field/flickrfield.module
Theme a Flickr photo set as a simple link to the photo set page on Flickr.com.

... See full list

File

./flickr.api.inc, line 111

Code

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