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

Public Member Functions

 __construct ()
 
 getIdByCode ($sCode, $sCountryId)
 
 getTitleById ($iStateId)
 

Protected Attributes

 $_sClassName = 'oxstate'
 

Detailed Description

State handler

Constructor & Destructor Documentation

◆ __construct()

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

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

Member Function Documentation

◆ getIdByCode()

OxidEsales\EshopCommunity\Application\Model\State::getIdByCode (   $sCode,
  $sCountryId 
)

Returns country id by code

Parameters
string$sCodecountry code
string$sCountryIdcountry id
Returns
string

◆ getTitleById()

OxidEsales\EshopCommunity\Application\Model\State::getTitleById (   $iStateId)

Get state title by id

Parameters
integer | string$iStateId
Returns
string

Member Data Documentation

◆ $_sClassName

OxidEsales\EshopCommunity\Application\Model\State::$_sClassName = 'oxstate'
protected

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