ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
register () | |
Public Member Functions inherited from Gettext\TranslatorInterface | |
gettext ($original) | |
Gets a translation using the original string. More... | |
ngettext ($original, $plural, $value) | |
Gets a translation checking the plural form. More... | |
dngettext ($domain, $original, $plural, $value) | |
Gets a translation checking the domain and the plural form. More... | |
npgettext ($context, $original, $plural, $value) | |
Gets a translation checking the context and the plural form. More... | |
pgettext ($context, $original) | |
Gets a translation checking the context. More... | |
dgettext ($domain, $original) | |
Gets a translation checking the domain. More... | |
dpgettext ($domain, $context, $original) | |
Gets a translation checking the domain and context. More... | |
dnpgettext ($domain, $context, $original, $plural, $value) | |
Gets a translation checking the domain, the context and the plural form. More... | |
Static Public Member Functions | |
static | initGettextFunctions (TranslatorInterface $translator) |
Set a translation instance as global, to use it with the gettext functions. More... | |
Static Public Attributes | |
static | $current |
Definition at line 5 of file BaseTranslator.php.
|
static |
Set a translation instance as global, to use it with the gettext functions.
TranslatorInterface | $translator |
Definition at line 15 of file BaseTranslator.php.
References $current, and $translator.
Gettext\BaseTranslator::register | ( | ) |
Implements Gettext\TranslatorInterface.
Definition at line 25 of file BaseTranslator.php.
|
static |
Definition at line 8 of file BaseTranslator.php.
Referenced by SimpleSAML\Locale\Translate\translatePluralGettext(), and SimpleSAML\Locale\Translate\translateSingularGettext().