Свойство | Тип | Описание | |
---|---|---|---|
$language | string |
Метод | Описание | |
---|---|---|
__construct ( array | null | object $language ) | Create a translation object: pre-fill with english and replace by $language specific data. | |
addTranslations ( $language ) | Adds the translations for the given language. | |
get ( $key, null $default = null ) : mixed | null | Get a translation key, if not available return default. | |
set ( $key, $value ) | Add a new translation |
public addTranslations ( $language ) | ||
$language |