You are here

function flickr_set_load in Flickr 6

Same name and namespace in other branches
  1. 7 sets/flickr_sets.module \flickr_set_load()
3 calls to flickr_set_load()
flickr_sets_photoset in sets/flickr_sets.module
theme_flickrfield_photoset in field/flickrfield.module
theme_flickr_photoset in ./flickr.module

File

sets/flickr_sets.module, line 32

Code

function flickr_set_load($sid, $page = 1) {

  // TODO: Not sure why this called for /flickr and does not show for admin
  // role.
  if (is_numeric($sid)) {
    return flickr_request('flickr.photosets.getPhotos', array(
      'photoset_id' => $sid,
      'page' => $page,
      'per_page' => variable_get('flickr_photos_per_page', 20),
    ));
  }
}