function countryicons_get_iconsets in Country Icons 7.2
Same name and namespace in other branches
- 6.2 countryicons.module \countryicons_get_iconsets()
- 6 countryicons.module \countryicons_get_iconsets()
- 7 countryicons.module \countryicons_get_iconsets()
Get all iconsets and their details.
Parameters
$reset: Whether to reset the cache for countryicons_get_iconsets().
Return value
array of iconset objects.
2 calls to countryicons_get_iconsets()
- countryicons_get_iconset in ./
countryicons.module - Get an iconsets details.
- countryicons_requirements in ./
countryicons.install - Implements hook_requirements().
File
- ./
countryicons.module, line 56 - A collection of country icons, and an API for retrieving them.
Code
function countryicons_get_iconsets($reset = FALSE) {
$info =& drupal_static(__FUNCTION__, NULL, $reset);
if (!isset($info)) {
$info = module_invoke_all('iconset_info');
}
return $info;
}