function _flickr_block_photosets in Flickr 6
Same name and namespace in other branches
- 5 block/flickr_block.module \_flickr_block_photosets()
1 call to _flickr_block_photosets()
- flickr_block in block/
flickr_block.module - Implements hook_block().
File
- block/
flickr_block.module, line 479
Code
function _flickr_block_photosets($nsid, $show_n, $size) {
$photosets = flickr_photoset_get_list($nsid);
$output = '';
$to = min($show_n, count($photosets));
for ($i = 0; $i < $to; $i++) {
$output .= theme('flickr_block_photoset', $photosets['photoset'][$i], $nsid, $size);
}
return $output;
}