function countryicons_get_iconsets in Country Icons 6.2
Same name and namespace in other branches
- 6 countryicons.module \countryicons_get_iconsets()
- 7.2 countryicons.module \countryicons_get_iconsets()
- 7 countryicons.module \countryicons_get_iconsets()
Get all iconsets and their details.
Parameters
$reset: If TRUE, clear the cache and fetch the information again.
Return value
array of iconset objects.
3 calls to countryicons_get_iconsets()
- countryicons_get_iconset in ./
countryicons.module - Get an iconsets details.
- countryicons_help in ./
countryicons.module - Implementation of hook_help().
- countryicons_requirements in ./
countryicons.install - Implementation of hook_requirements().
File
- ./
countryicons.module, line 60 - A collection of country icons, and an API for retrieving them.
Code
function countryicons_get_iconsets($reset = FALSE) {
static $iconsets;
if ($reset || !isset($iconsets)) {
$iconsets = module_invoke_all('iconset_info');
}
return $iconsets;
}