SkeletonLocale
class SkeletonLocale implements LocaleInterface, LocaleEntityInterface, ExportableInterface (View source)
Traits
Properties
protected string | $msLanguage | The language code. |
from LocaleTrait |
protected string | $msCountry | The Country/territory code. |
from LocaleTrait |
protected int | $msNumPlurals | The number of plural rules used in this locale. |
from LocaleTrait |
protected string | $msPluralRule | The plural rules definition of this locale (using gettext format). |
from LocaleTrait |
protected string | $msPluralCases | The plural rule names with examples (using CLDR format). |
from LocaleTrait |
protected | $skeletonLocaleID | ||
protected | $skeleton | ||
protected | $tree |
Methods
Set the number of plural rules used in this locale.
Get the plural rules definition of this locale (using gettext format).
Set the plural rules definition of this locale (using gettext format).
Get the plural rule names with examples (using CLDR format).
Set the plural rule names with examples (using CLDR format).
Get the display name of this locale.
Get the object to be used to export this item to aSimpleXMLElement.
Get the locale record identifier.
No description
No description
No description
Details
string
getLanguage()
Get the language code.
setLanguage(string $msLanguage)
Set the language code.
string
getCountry()
Get the Country/territory code.
setCountry(string $msCountry)
Set the Country/territory code.
int
getNumPlurals()
Get the number of plural rules used in this locale.
setNumPlurals(int $msNumPlurals)
Set the number of plural rules used in this locale.
string
getPluralRule()
Get the plural rules definition of this locale (using gettext format).
setPluralRule(string $msPluralRule)
Set the plural rules definition of this locale (using gettext format).
array
getPluralCases()
Get the plural rule names with examples (using CLDR format).
setPluralCases(string $msPluralCases)
Set the plural rule names with examples (using CLDR format).
string
getLocale()
Get the full code of this locale.
string
getLanguageText(string|null $locale = null)
Get the display name of this locale.
Locale
getExporter()
Get the object to be used to export this item to aSimpleXMLElement.
int|null
getLocaleID()
Get the locale record identifier.
mixed
getSkeleton()
No description
setSkeleton(mixed $skeleton)
No description
TreeInterface
getSiteTree()
No description
setSiteTree(TreeInterface $tree)
No description