Language
extends Facade
in package
class Language.
Tags
Table of Contents
Methods
- array() : void
- array() : void
- array() : void
- array() : void
- array() : void
- array() : void
- getActiveOptions() : array<string|int, mixed>
- getDefaultLocaleId() : string
- getLanguage() : Language
- getName() : string|null
- getFacadeAccessor() : mixed
Methods
array()
public
static array() : void
array()
public
static array() : void
array()
public
static array() : void
<string, mixed> getAllActiveLanguages()
array()
public
static array() : void
<int, mixed> extractPhraseData(string $key, array $data = [])
array()
public
static array() : void
<string, mixed> getPhraseValues(string $phraseKey)
array()
public
static array() : void
<string, string> getEmptyPhraseData()
getActiveOptions()
public
static getActiveOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>getDefaultLocaleId()
public
static getDefaultLocaleId() : string
Return values
stringgetLanguage()
public
static getLanguage(string $languageId) : Language
Parameters
- $languageId : string
Return values
LanguagegetName()
public
static getName(string|null $id) : string|null
Parameters
- $id : string|null
Return values
string|nullgetFacadeAccessor()
protected
static getFacadeAccessor() : mixed