ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
TranslatorInterface.php
Go to the documentation of this file.
1<?php
2
3namespace Gettext;
4
9{
13 public function register();
14
22 public function gettext($original);
23
33 public function ngettext($original, $plural, $value);
34
45 public function dngettext($domain, $original, $plural, $value);
46
57 public function npgettext($context, $original, $plural, $value);
58
67 public function pgettext($context, $original);
68
77 public function dgettext($domain, $original);
78
88 public function dpgettext($domain, $context, $original);
89
99 public function dnpgettext($domain, $context, $original, $plural, $value);
100}
if(!array_key_exists('domain', $_REQUEST)) $domain
Definition: resume.php:8
An exception for terminatinating execution or to throw for unit testing.
Interface used by all translators.
pgettext($context, $original)
Gets a translation checking the context.
ngettext($original, $plural, $value)
Gets a translation checking the plural form.
npgettext($context, $original, $plural, $value)
Gets a translation checking the context and the plural form.
gettext($original)
Gets a translation using the original string.
dngettext($domain, $original, $plural, $value)
Gets a translation checking the domain and the plural form.
dgettext($domain, $original)
Gets a translation checking the domain.
dpgettext($domain, $context, $original)
Gets a translation checking the domain and context.
dnpgettext($domain, $context, $original, $plural, $value)
Gets a translation checking the domain, the context and the plural form.