Public Member Functions | |
__construct () | |
getIdByCode ($sCode, $sCountryId) | |
getTitleById ($iStateId) | |
Protected Attributes | |
$_sClassName = 'oxstate' |
State handler
Definition at line 6 of file oxstate.php.
oxState.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxI18n()).
Reimplemented from oxI18n.
Definition at line 19 of file oxstate.php.
oxState.getIdByCode | ( | $ | sCode, | |
$ | sCountryId | |||
) |
Returns country id by code
string | $sCode country code | |
string | $sCountryId country id |
Definition at line 33 of file oxstate.php.
oxState.getTitleById | ( | $ | iStateId | ) |
Get state title by id
integer|string | $iStateId |
Definition at line 51 of file oxstate.php.
oxState.$_sClassName = 'oxstate' [protected] |
Reimplemented from oxI18n.
Definition at line 14 of file oxstate.php.