Public Member Functions | Protected Attributes

oxCountry Class Reference

Inheritance diagram for oxCountry:
Collaboration diagram for oxCountry:

List of all members.

Public Member Functions

 __construct ()
 isForeignCountry ()
 isInEU ()
 getStates ()
 getIdByCode ($sCode)

Protected Attributes

 $_sClassName = 'oxcountry'
 $_aStates = null

Detailed Description

Definition at line 6 of file oxcountry.php.


Constructor & Destructor Documentation

oxCountry.__construct (  ) 

Class constructor, initiates parent constructor (parent.oxI18n()).

Reimplemented from oxI18n.

Definition at line 25 of file oxcountry.php.


Member Function Documentation

oxCountry.getIdByCode ( sCode  ) 

Returns caountry id by code

Parameters:
string $sCode country code
Returns:
string

Definition at line 78 of file oxcountry.php.

oxCountry.getStates (  ) 

Returns current state list

Returns:
array

Definition at line 56 of file oxcountry.php.

oxCountry.isForeignCountry (  ) 

returns true if this country is a foreign country

Returns:
bool

Definition at line 36 of file oxcountry.php.

oxCountry.isInEU (  ) 

returns true if this country is marked as EU

Returns:
bool

Definition at line 46 of file oxcountry.php.


Member Data Documentation

oxCountry.$_aStates = null [protected]

Definition at line 20 of file oxcountry.php.

oxCountry.$_sClassName = 'oxcountry' [protected]

Reimplemented from oxI18n.

Definition at line 13 of file oxcountry.php.


The documentation for this class was generated from the following file: