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

Class: I18N_Country

Source Location: /I18N-1.0.0/Country.php

Class Overview

PEAR
   |
   --I18N_Common
      |
      --I18N_Country



Methods


Inherited Variables

Inherited Methods

Class: I18N_Common

I18N_Common::I18N_Common()
Call parent::PEAR() for destuctor to be called, and initialize vars
I18N_Common::getAllCodes()
Return all the codes. Used by child classes.
I18N_Common::_I18N_Common()
It does nothing now

Class Details

[line 23]


[ Top ]


Method Detail

I18N_Country (Constructor)   [line 33]

I18N_Country I18N_Country( )

Save list of ISO-3166 two letter country code to country name mapping to its initiating object

[ Top ]

getName   [line 321]

void getName( [: $code = ''])

Return name of the country for country code passed

Parameters:

:   $code   —  string country code

[ Top ]

isValidCode   [line 305]

void isValidCode( $code)


Parameters:

   $code   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:36:10 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.