|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Interface used by all translators. More...
Inheritance diagram for Gettext\TranslatorInterface:
Collaboration diagram for Gettext\TranslatorInterface:Public Member Functions | |
| 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... | |
Interface used by all translators.
Definition at line 8 of file TranslatorInterface.php.
| Gettext\TranslatorInterface::dgettext | ( | $domain, | |
| $original | |||
| ) |
Gets a translation checking the domain.
| string | $domain | |
| string | $original |
Implemented in Gettext\GettextTranslator, and Gettext\Translator.
| Gettext\TranslatorInterface::dngettext | ( | $domain, | |
| $original, | |||
| $plural, | |||
| $value | |||
| ) |
Gets a translation checking the domain and the plural form.
| string | $domain | |
| string | $original | |
| string | $plural | |
| string | $value |
Implemented in Gettext\GettextTranslator, and Gettext\Translator.
| Gettext\TranslatorInterface::dnpgettext | ( | $domain, | |
| $context, | |||
| $original, | |||
| $plural, | |||
| $value | |||
| ) |
Gets a translation checking the domain, the context and the plural form.
| string | $domain | |
| string | $context | |
| string | $original | |
| string | $plural | |
| string | $value |
Implemented in Gettext\GettextTranslator, and Gettext\Translator.
| Gettext\TranslatorInterface::dpgettext | ( | $domain, | |
| $context, | |||
| $original | |||
| ) |
Gets a translation checking the domain and context.
| string | $domain | |
| string | $context | |
| string | $original |
Implemented in Gettext\GettextTranslator, and Gettext\Translator.
| Gettext\TranslatorInterface::gettext | ( | $original | ) |
Gets a translation using the original string.
| string | $original |
Implemented in Gettext\GettextTranslator, and Gettext\Translator.
| Gettext\TranslatorInterface::ngettext | ( | $original, | |
| $plural, | |||
| $value | |||
| ) |
Gets a translation checking the plural form.
| string | $original | |
| string | $plural | |
| string | $value |
Implemented in Gettext\GettextTranslator, and Gettext\Translator.
| Gettext\TranslatorInterface::npgettext | ( | $context, | |
| $original, | |||
| $plural, | |||
| $value | |||
| ) |
Gets a translation checking the context and the plural form.
| string | $context | |
| string | $original | |
| string | $plural | |
| string | $value |
Implemented in Gettext\GettextTranslator, and Gettext\Translator.
| Gettext\TranslatorInterface::pgettext | ( | $context, | |
| $original | |||
| ) |
Gets a translation checking the context.
| string | $context | |
| string | $original |
Implemented in Gettext\GettextTranslator, and Gettext\Translator.
| Gettext\TranslatorInterface::register | ( | ) |
Register this translator as global, to use with the gettext functions __(), p__(), etc.
Implemented in Gettext\BaseTranslator.