![]() |
XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Graphe d'héritage de HTMLPurifier_Language:Fonctions membres publiques | |
| __construct ($config, $context) | |
| load () | |
| getMessage ($key) | |
| getErrorName ($int) | |
| listify ($array) | |
| formatMessage ($key, $args=array()) | |
Champs de données | |
| $code = 'en' | |
| $fallback = false | |
| $messages = array() | |
| $errorNames = array() | |
| $error = false | |
| $_loaded = false | |
Attributs protégés | |
| $config | |
| $context | |
Represents a language and defines localizable string formatting and other functions, as well as the localized messages for HTML Purifier.
| __construct | ( | $config, | |
| $context | |||
| ) |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
| formatMessage | ( | $key, | |
$args = array() |
|||
| ) |
Formats a localised message with passed parameters
| string | $key | string identifier of message |
| array | $args | Parameters to substitute in |
Voici le graphe d'appel pour cette fonction :| getErrorName | ( | $int | ) |
Retrieves a localised error name.
| int | $int | error number, corresponding to PHP's error reporting |
Voici le graphe d'appel pour cette fonction :| getMessage | ( | $key | ) |
Retrieves a localised message.
| string | $key | string identifier of message |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| listify | ( | $array | ) |
Converts an array list into a string readable representation
| array | $array |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| load | ( | ) |
Loads language object with necessary info from factory cache
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| $_loaded = false |
Has the language object been loaded yet? @type bool
| $code = 'en' |
ISO 639 language code of language. Prefers shortest possible version. @type string
|
protected |
@type HTMLPurifier_Config
|
protected |
@type HTMLPurifier_Context
| $error = false |
True if no message file was found for this language, so English is being used instead. Check this if you'd like to notify the user that they've used a non-supported language. @type bool
| $errorNames = array() |
Array of localizable error codes. @type array
| $fallback = false |
Fallback language code. @type bool|string
| $messages = array() |
Array of localizable messages. @type array