DownloadI18Next\TranslatorStatic
-
Class name: TranslatorStatic
-
Namespace: I18Next
Properties
$translator
private \I18Next\Translator $translator
-
Visibility: private
-
This property is static.
Methods
instance
mixed I18Next\TranslatorStatic::instance()
-
Visibility: public
-
This method is static.
setTranslationsPath
mixed I18Next\TranslatorStatic::setTranslationsPath(string path)
-
Visibility: public
-
This method is static.
Arguments
setNamespacePriority
mixed I18Next\TranslatorStatic::setNamespacePriority(mixed namespace_priority)
-
Visibility: public
-
This method is static.
Arguments
useFilenameAsNamespace
mixed I18Next\TranslatorStatic::useFilenameAsNamespace(bool|null enabled)
-
Visibility: public
-
This method is static.
Arguments
setLanguagePrimary
mixed I18Next\TranslatorStatic::setLanguagePrimary(string language_code)
-
Visibility: public
-
This method is static.
Arguments
addLanguage
mixed I18Next\TranslatorStatic::addLanguage(string code)
-
Visibility: public
-
This method is static.
Arguments
setLanguageFallback
mixed I18Next\TranslatorStatic::setLanguageFallback(string fallback_code)
-
Visibility: public
-
This method is static.
Arguments
_
string I18Next\TranslatorStatic::_(string key, array|null parameters, string|null context, string|null locale)
-
Visibility: public
-
This method is static.
Arguments
-
key string
-
parameters array|null
-
context string|null
-
locale string|null
register
mixed I18Next\TranslatorStatic::register()
Register global function _.
-
Visibility: public
-
This method is static.
|