|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for Gettext\BaseTranslator:
Collaboration diagram for Gettext\BaseTranslator:Public Member Functions | |
| register () | |
Public Member Functions inherited from Gettext\TranslatorInterface | |
| register () | |
| Register this translator as global, to use with the gettext functions __(), p__(), etc. More... | |
| 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().