OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Application\Model\Country Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Application\Model\Country:
+ Collaboration diagram for OxidEsales\EshopCommunity\Application\Model\Country:

Public Member Functions

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

Protected Attributes

 $_sClassName = 'oxcountry'
 
 $_aStates = null
 

Detailed Description

Country manager

Constructor & Destructor Documentation

◆ __construct()

OxidEsales\EshopCommunity\Application\Model\Country::__construct ( )

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

Member Function Documentation

◆ getIdByCode()

OxidEsales\EshopCommunity\Application\Model\Country::getIdByCode (   $sCode)

Returns country id by code

Parameters
string$sCodecountry code
Returns
string

◆ getStates()

OxidEsales\EshopCommunity\Application\Model\Country::getStates ( )

Returns current state list

Returns
array

◆ getVATIdentificationNumberPrefix()

OxidEsales\EshopCommunity\Application\Model\Country::getVATIdentificationNumberPrefix ( )

Method returns VAT identification number prefix.

Returns
string

◆ isForeignCountry()

OxidEsales\EshopCommunity\Application\Model\Country::isForeignCountry ( )

returns true if this country is a foreign country

Returns
bool

◆ isInEU()

OxidEsales\EshopCommunity\Application\Model\Country::isInEU ( )

returns true if this country is marked as EU

Returns
bool

Member Data Documentation

◆ $_aStates

OxidEsales\EshopCommunity\Application\Model\Country::$_aStates = null
protected

◆ $_sClassName

OxidEsales\EshopCommunity\Application\Model\Country::$_sClassName = 'oxcountry'
protected

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