function flickr_photoset_get_info in Flickr 5
Same name and namespace in other branches
- 6 flickr.api.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)
3 calls to flickr_photoset_get_info()
- flickrfield_field_formatter in field/
flickrfield.module - Implementation of hook_field_formatter().
- flickr_filter_callback_photoset in filter/
flickr_filter.module - Filter callback for a photoset.
- flickr_sets_menu in sets/
flickr_sets.module - Implementation of hook_menu().
File
- ./
flickr.inc, line 307
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;
}