function asset_search_url in Asset 6
Same name and namespace in other branches
- 5.2 contrib/asset_search/asset_search.module \asset_search_url()
Build a RSS url from search type and search value
1 call to asset_search_url()
- asset_search_fetch in contrib/
asset_search/ asset_search.module - Fetch a RSS feed and return its items as pseudo-assets
File
- contrib/
asset_search/ asset_search.module, line 244
Code
function asset_search_url($type, $value) {
$types = asset_search_types();
$function = $types[$type]['url'];
$url = module_invoke($types[$type]['module'], 'asset_search', 'url', $types[$type], $value);
return $url;
}