function _flickr_block_group_recent in Flickr 6
1 call to _flickr_block_group_recent()
- flickr_block in block/
flickr_block.module - Implements hook_block().
File
- block/
flickr_block.module, line 661
Code
function _flickr_block_group_recent($group_id, $show_n, $size, $media) {
$output = '';
if ($photos = flickr_get_group_photos($group_id, 1, array(
'per_page' => $show_n,
'media' => $media,
))) {
foreach ($photos['photo'] as $photo) {
$output .= theme('flickr_block_photo', $photo, $size);
}
}
return $output;
}