You are here

function countryicons_get_iconset in Country Icons 6.2

Same name and namespace in other branches
  1. 6 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

object with requested iconset.

2 calls to countryicons_get_iconset()
countryicons_get_icon_path in ./countryicons.module
Get the path to an icon.
theme_countryicons_icon_sprite in ./countryicons.theme.inc
Theme a country icon with CSS sprite.

File

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

Code

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