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

Class: I18Nv2_Country

Source Location: /I18Nv2-0.4.0/Country.php

Class Overview


I18Nv2_Country


Author(s):

Version:

  • $Revision: 1.4 $

Methods


Inherited Variables

Inherited Methods


Class Details

[line 40]
I18Nv2_Country


[ Top ]


Method Detail

I18Nv2_Country (Constructor)   [line 54]

object I18Nv2_Country I18Nv2_Country( [string $language = null])

Constructor
  • Access: public

Parameters:

string   $language     

[ Top ]

getAllCodes   [line 108]

array getAllCodes( )

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

[ Top ]

getName   [line 97]

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 85]

bool isValidCode( string $code)

Check if Country Code is valid
  • Access: public

Parameters:

string   $code     country code

[ Top ]


Documentation generated on Sun, 16 May 2004 05:20:02 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.