i18n\I18N format()

format() public method

Formats a message using yii\i18n\MessageFormatter.

public string format ( $message, $params, $language )
$message string

The message to be formatted.

$params array

The parameters that will be used to replace the corresponding placeholders in the message.

$language string

The language code (e.g. en-US, en).

return string

The formatted message.

doc_Yii
2016-10-30 17:06:11
Comments
Leave a Comment

Please login to continue.