HTMLPurifier_Language::formatMessage
Formats a localised message with passed parameters
Signature
public function formatMessage(string
$key,
[array
$args = ] )
Parameters
$key
— string- identifier of message
$args
— array- to substitute in
Returns
- string
- localised message
Line | Task |
---|---|
117+ | Implement conditionals? Right now, some messages make reference to line numbers, but those aren't always available |