function flickr_tag_request_args in Flickr 7
Same name and namespace in other branches
- 5 flickr.inc \flickr_tag_request_args()
- 6 flickr.inc \flickr_tag_request_args()
Flickr tag request.
1 call to flickr_tag_request_args()
- flickr_tags_photos in tags/
flickr_tags.module - Returns a user's photos with given tags.
File
- tags/
flickr_tags.module, line 253 - The Flickr tags module.
Code
function flickr_tag_request_args($tags = array(), $mode = 'all') {
$args = array();
if (!empty($tags)) {
$args['tags'] = implode(',', $tags);
$args['tag_mode'] = $mode == 'all' ? $mode : 'any';
}
return $args;
}