This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Helper_Lists_Countries

Direct known subclasses

ListsCountriesHelper

Package: Helpers
Copyright: Copyright (c) 2003-2008 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at core/helpers/lists/countries.php

Methods summary

public
# reset( )
public array
# getCountries( )

Returns an array of countries with their short name as the key and their full name as the value

public string
# getCountryName( string $code )

Gets a country full name given its code

Properties summary

protected string $locale

Locale for which we currently loaded the data.

# null
protected array $countries
# array()