You are here

function flickr_photoset_get_list in Flickr 5

Same name and namespace in other branches
  1. 6 flickr.api.inc \flickr_photoset_get_list()

Parameters

$nsid: nsid of the user whose photoset list you want

Return value

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

2 calls to flickr_photoset_get_list()
flickr_sets_photosets in sets/flickr_sets.module
_flickr_block_photosets in block/flickr_block.module

File

./flickr.inc, line 326

Code

function flickr_photoset_get_list($nsid) {
  $response = flickr_request('flickr.photosets.getList', array(
    'user_id' => $nsid,
  ));
  if ($response) {
    return $response['photosets']['photoset'];
  }
  return FALSE;
}