function asset_search_types in Asset 6
Same name and namespace in other branches
- 5.2 contrib/asset_search/asset_search.module \asset_search_types()
Build the list of available search types
5 calls to asset_search_types()
- asset_search_menu in contrib/
asset_search/ asset_search.module - Implementation of hook_menu().
- asset_search_parse_feed in contrib/
asset_search/ asset_search.parser.inc - Parse an rss feed and return an array of items Taken from aggregator_parse_feed
- asset_search_url in contrib/
asset_search/ asset_search.module - Build a RSS url from search type and search value
- asset_search_wizard_form in contrib/
asset_search/ asset_search.module - Asset Search Form
- asset_search_wizard_results in contrib/
asset_search/ asset_search.module - Menu callback for asset/wizard/method/search/<type>/<value>
File
- contrib/
asset_search/ asset_search.module, line 227
Code
function asset_search_types($type_str = NULL) {
static $types;
if (!isset($types)) {
$types = module_invoke_all('asset_search', 'info');
}
if ($type_str) {
return $types[$type_str];
}
return $types;
}