phpDocumentor Developer
[ class tree: Developer ] [ index: Developer ] [ all elements ]

Class: CountryCode

Source Location: /core/Countries.php

Class CountryCode

Class Overview

The CountryCode class defines some convenience functions for mapping country shortnames into display names. It is also the authoritative source for which countries are supported.

Located in /core/Countries.php [line 20]



		
				Author(s):
		
		
		
Information Tags:
License:  http://ticker.eduroam.lu/cat/LICENSE

Methods

[ Top ]
Method Summary
array   country_list()  
string   name()  

[ Top ]
Methods
country_list  [line 49]

  array country_list( )


API Tags:
Return:  The list of countries; consisting of an array where key = shortname, value = display name
Access:  public


[ Top ]
name  [line 39]

  string name( string $code  )

Parameters:
string   $code:  The shortname of the country

API Tags:
Return:  The display name of the country
Access:  public


[ Top ]

Documentation generated on Fri, 15 Jul 2011 13:53:33 +0200 by phpDocumentor 1.4.3