You are here

function countryicons_get_iconset in Country Icons 6

Same name and namespace in other branches
  1. 6.2 countryicons.module \countryicons_get_iconset()
  2. 7.2 countryicons.module \countryicons_get_iconset()
  3. 7 countryicons.module \countryicons_get_iconset()

Get an iconsets details.

Parameters

$iconset: The iconset name.

Return value

array with requested iconset.

3 calls to countryicons_get_iconset()
countryicons_get_icon_path in ./countryicons.module
Get the path to an icon.
theme_countryicons_icon in ./countryicons.module
Theme a country icon.
theme_countryicons_icon_sprite in ./countryicons.module
Theme a country icon.

File

./countryicons.module, line 96
A collection of country icons, and an API for retrieving them.

Code

function countryicons_get_iconset($iconset) {
  $all_iconsets = countryicons_get_iconsets();
  return $all_iconsets[$iconset];
}