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 27 of file oxcountry.php.
oxCountry.getIdByCode | ( | $ | sCode | ) |
Returns country id by code
string | $sCode country code |
Definition at line 80 of file oxcountry.php.
oxCountry.getStates | ( | ) |
oxCountry.getVATIdentificationNumberPrefix | ( | ) |
Method returns VAT identification number prefix.
Definition at line 91 of file oxcountry.php.
oxCountry.isForeignCountry | ( | ) |
returns true if this country is a foreign country
Definition at line 38 of file oxcountry.php.
oxCountry.isInEU | ( | ) |
returns true if this country is marked as EU
Definition at line 48 of file oxcountry.php.
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.