\Locale\Model\EntityLanguage

Represents a single "language" within "languages" table.

Summary

Methods
Properties
Constants
No public methods found
$id
$regionCode
$languageCode
No constants found
_getRegionCode()
_getLanguageCode()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$id

$id : integer

Type

integer

$regionCode

$regionCode : string

Type

string

$languageCode

$languageCode : string

Type

string

Methods

_getRegionCode()

_getRegionCode() : string

Returns language's region code.

Returns

string —

language's region code. e.g. "NZ" (for en_NZ), "EE" (for et_EE)

_getLanguageCode()

_getLanguageCode() : string

Gets language's ISO-639-1 code.

Returns

string —

language's code. e.g. "en" (for en_NZ), "et" (for et_EE)