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

Country manager

Definition at line 8 of file oxcountry.php.


Constructor & Destructor Documentation

oxCountry.__construct (  ) 

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

Reimplemented from oxI18n.

Definition at line 27 of file oxcountry.php.


Member Function Documentation

oxCountry.getIdByCode ( sCode  ) 

Returns country id by code

Parameters:
string $sCode country code
Returns:
string

Definition at line 80 of file oxcountry.php.

oxCountry.getStates (  ) 

Returns current state list

Returns:
array

Definition at line 58 of file oxcountry.php.

oxCountry.isForeignCountry (  ) 

returns true if this country is a foreign country

Returns:
bool

Definition at line 38 of file oxcountry.php.

oxCountry.isInEU (  ) 

returns true if this country is marked as EU

Returns:
bool

Definition at line 48 of file oxcountry.php.


Member Data Documentation

oxCountry.$_aStates = null [protected]

Definition at line 22 of file oxcountry.php.

oxCountry.$_sClassName = 'oxcountry' [protected]

Reimplemented from oxI18n.

Definition at line 15 of file oxcountry.php.


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