Public Member Functions | |
__construct () | |
isForeignCountry () | |
isInEU () | |
getStates () | |
getIdByCode ($sCode) | |
getVATIdentificationNumberPrefix () | |
Protected Attributes | |
$_sClassName = 'oxcountry' | |
$_aStates = null |
Country manager
Definition at line 8 of file oxcountry.php.
oxCountry.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxI18n()).
Reimplemented from oxI18n.
Definition at line 28 of file oxcountry.php.
oxCountry.getIdByCode | ( | $ | sCode | ) |
Returns country id by code
string | $sCode country code |
Definition at line 82 of file oxcountry.php.
oxCountry.getStates | ( | ) |
oxCountry.getVATIdentificationNumberPrefix | ( | ) |
Method returns VAT identification number prefix.
Definition at line 94 of file oxcountry.php.
oxCountry.isForeignCountry | ( | ) |
returns true if this country is a foreign country
Definition at line 39 of file oxcountry.php.
oxCountry.isInEU | ( | ) |
returns true if this country is marked as EU
Definition at line 49 of file oxcountry.php.
oxCountry.$_aStates = null [protected] |
Definition at line 23 of file oxcountry.php.
oxCountry.$_sClassName = 'oxcountry' [protected] |
Reimplemented from oxI18n.
Definition at line 16 of file oxcountry.php.