I18Nv2
[ class tree: I18Nv2 ] [ index: I18Nv2 ] [ all elements ]

Class: I18Nv2_Country

Source Location: /I18Nv2-0.1.0/Country.php

Class Overview


I18Nv2_Country


Author(s):

Version:

  • $Revision: 1.2 $

Methods


Inherited Variables

Inherited Methods


Class Details

[line 37]
I18Nv2_Country

Save list of ISO-3166 two letter country code to country name mapping.



[ Top ]


Method Detail

I18Nv2_Country (Constructor)   [line 288]

object I18Nv2_Country I18Nv2_Country( )

Constructor
  • Access: public

[ Top ]

getAllCodes   [line 330]

array getAllCodes( )

Return all the codes
  • Return: all country codes as associative array
  • Access: public

[ Top ]

getName   [line 319]

string getName( string $code)

Return name of the country for country code passed
  • Return: name of the country
  • Access: public

Parameters:

string   $code     country code

[ Top ]

isValidCode   [line 307]

bool isValidCode( string $code)

Check if Country Code is valid
  • Access: public

Parameters:

string   $code     country code

[ Top ]

__construct   [line 296]

void __construct( )

  • Access: public

[ Top ]


Documentation generated on Sat, 1 May 2004 03:25:19 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.