|
| | _ ($string, $jsSafe=false, $interpretBackSlashes=true, $script=false) |
| |
| | alt ($string, $alt, $jsSafe=false, $interpretBackSlashes=true, $script=false) |
| |
| | plural ($string, $n) |
| |
| | sprintf ($string) |
| |
| | printf ($string) |
| |
| | script ($string=null, $jsSafe=false, $interpretBackSlashes=true) |
| |
Wrapper class for JText
- Depuis
- 3.4
- Obsolète:
- 4.0 Use
JText directly
◆ _()
| _ |
( |
|
$string, |
|
|
|
$jsSafe = false, |
|
|
|
$interpretBackSlashes = true, |
|
|
|
$script = false |
|
) |
| |
Helper wrapper method for _
- Paramètres
-
| string | $string | The string to translate. |
| mixed | $jsSafe | Boolean: Make the result javascript safe. |
| boolean | $interpretBackSlashes | To interpret backslashes (\=\,
=carriage return, =tabulation). |
| boolean | $script | To indicate that the string will be push in the javascript language store. |
- Renvoie
- string The translated string or the key if $script is true.
- Voir également
- ::_
- Depuis
- 3.4
- Obsolète:
- 4.0 Use
JText directly
Références $script.
◆ alt()
| alt |
( |
|
$string, |
|
|
|
$alt, |
|
|
|
$jsSafe = false, |
|
|
|
$interpretBackSlashes = true, |
|
|
|
$script = false |
|
) |
| |
Helper wrapper method for alt
- Paramètres
-
| string | $string | The string to translate. |
| string | $alt | The alternate option for global string. |
| mixed | $jsSafe | Boolean: Make the result javascript safe. |
| boolean | $interpretBackSlashes | To interpret backslashes (\=\,
=carriage return, =tabulation). |
| boolean | $script | To indicate that the string will be pushed in the javascript language store. |
- Renvoie
- string The translated string or the key if $script is true.
- Voir également
- ::alt
- Depuis
- 3.4
- Obsolète:
- 4.0 Use
JText directly
Références $alt, et $script.
◆ plural()
Helper wrapper method for plural
- Paramètres
-
| string | $string | The format string. |
| integer | $n | The number of items. |
- Renvoie
- string The translated strings or the key if 'script' is true in the array of options.
- Voir également
- ::plural
- Depuis
- 3.4
- Obsolète:
- 4.0 Use
JText directly
Références $n.
◆ printf()
Helper wrapper method for printf
- Paramètres
-
| string | $string | The format string. |
- Renvoie
- mixed
- Voir également
- ::printf
- Depuis
- 3.4
- Obsolète:
- 4.0 Use
JText directly
◆ script()
| script |
( |
|
$string = null, |
|
|
|
$jsSafe = false, |
|
|
|
$interpretBackSlashes = true |
|
) |
| |
Helper wrapper method for script
- Paramètres
-
| string | $string | The key. |
| boolean | $jsSafe | Ensure the output is JavaScript safe. |
| boolean | $interpretBackSlashes | Interpret and
. |
- Renvoie
- string
- Voir également
- ::script
- Depuis
- 3.4
- Obsolète:
- 4.0 Use
JText directly
◆ sprintf()
Helper wrapper method for sprintf
- Paramètres
-
| string | $string | The format string. |
- Renvoie
- string The translated strings or the key if 'script' is true in the array of options.
- Voir également
- ::sprintf
- Depuis
- 3.4
- Obsolète:
- 4.0 Use
JText directly
La documentation de cette classe a été générée à partir du fichier suivant :