function flickr_set_load in Flickr 7
Same name and namespace in other branches
- 6 sets/flickr_sets.module \flickr_set_load()
Get the list of photos in a set.
1 call to flickr_set_load()
- flickr_sets_photoset in sets/
flickr_sets.module - Return a user's photos from a given set.
File
- sets/
flickr_sets.module, line 50 - The Flickr sets module.
Code
function flickr_set_load($sid, $page = 1) {
// TODO: 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),
));
}
}