Language
extends BaseModel
in package
Table of Contents
Properties
- $androidCode : string
- $dialectOf : string|null
- $editorCode : string
- $id : string
- $locale : string
- $name : string
- $osxCode : string
- $osxLocale : string
- $pluralCategoryNames : array<string|int, mixed>
- $pluralExamples : array<string|int, mixed>
- $pluralRules : string
- $textDirection : string
- $threeLettersCode : string
- $twoLettersCode : string
Methods
- __construct() : mixed
- getAndroidCode() : string
- getDialectOf() : string|null
- getEditorCode() : string
- getId() : string
- getLocale() : string
- getName() : string
- getOsxCode() : string
- getOsxLocale() : string
- getPluralCategoryNames() : array<string|int, mixed>
- getPluralExamples() : array<string|int, mixed>
- getPluralRules() : string
- getTextDirection() : string
- getThreeLettersCode() : string
- getTwoLettersCode() : string
- setDialectOf() : void
- setName() : void
- setPluralCategoryNames() : void
- setTextDirection() : void
- setThreeLettersCode() : void
- setTwoLettersCode() : void
Properties
$androidCode
protected
string
$androidCode
$dialectOf
protected
string|null
$dialectOf
$editorCode
protected
string
$editorCode
alias of internal code
$id
protected
string
$id
$locale
protected
string
$locale
$name
protected
string
$name
$osxCode
protected
string
$osxCode
$osxLocale
protected
string
$osxLocale
$pluralCategoryNames
protected
array<string|int, mixed>
$pluralCategoryNames
= []
$pluralExamples
protected
array<string|int, mixed>
$pluralExamples
= []
$pluralRules
protected
string
$pluralRules
$textDirection
protected
string
$textDirection
Enum: "ltr" "rtl"
$threeLettersCode
protected
string
$threeLettersCode
alias of iso6393 code
$twoLettersCode
protected
string
$twoLettersCode
alias of iso6391 code
Methods
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
- $data : array<string|int, mixed> = []
getAndroidCode()
public
getAndroidCode() : string
Return values
stringgetDialectOf()
public
getDialectOf() : string|null
Return values
string|nullgetEditorCode()
public
getEditorCode() : string
Return values
stringgetId()
public
getId() : string
Return values
stringgetLocale()
public
getLocale() : string
Return values
stringgetName()
public
getName() : string
Return values
stringgetOsxCode()
public
getOsxCode() : string
Return values
stringgetOsxLocale()
public
getOsxLocale() : string
Return values
stringgetPluralCategoryNames()
public
getPluralCategoryNames() : array<string|int, mixed>
Return values
array<string|int, mixed>getPluralExamples()
public
getPluralExamples() : array<string|int, mixed>
Return values
array<string|int, mixed>getPluralRules()
public
getPluralRules() : string
Return values
stringgetTextDirection()
public
getTextDirection() : string
Return values
stringgetThreeLettersCode()
public
getThreeLettersCode() : string
Return values
stringgetTwoLettersCode()
public
getTwoLettersCode() : string
Return values
stringsetDialectOf()
public
setDialectOf(string|null $dialectOf) : void
Parameters
- $dialectOf : string|null
setName()
public
setName(string $name) : void
Parameters
- $name : string
setPluralCategoryNames()
public
setPluralCategoryNames(array<string|int, mixed> $pluralCategoryNames) : void
Parameters
- $pluralCategoryNames : array<string|int, mixed>
setTextDirection()
public
setTextDirection(string $textDirection) : void
Parameters
- $textDirection : string
setThreeLettersCode()
public
setThreeLettersCode(string $threeLettersCode) : void
Parameters
- $threeLettersCode : string
setTwoLettersCode()
public
setTwoLettersCode(string $twoLettersCode) : void
Parameters
- $twoLettersCode : string