format() public method
Formats a message via ICU message format
It uses the PHP intl extension's MessageFormatter and works around some issues. If PHP intl is not installed a fallback will be used that supports a subset of the ICU message format.
public string|boolean format ( $pattern, $params, $language ) | ||
---|---|---|
$pattern | string |
The pattern string to insert parameters into. |
$params | array |
The array of name value pairs to insert into the format string. |
$language | string |
The locale to use for formatting locale-dependent parts |
return | string|boolean |
The formatted pattern string or |
Please login to continue.