|
|
|
@ -20,6 +20,12 @@ use yii\base\InvalidConfigException;
|
|
|
|
|
class Locale extends Component |
|
|
|
|
{ |
|
|
|
|
/** |
|
|
|
|
* @var string the locale ID. |
|
|
|
|
* If not set, [[\yii\base\Application::language]] will be used. |
|
|
|
|
*/ |
|
|
|
|
public $locale; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* {@inheritdoc} |
|
|
|
|
*/ |
|
|
|
|
public function init() |
|
|
|
@ -34,12 +40,6 @@ class Locale extends Component
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @var string the locale ID. |
|
|
|
|
* If not set, [[\yii\base\Application::language]] will be used. |
|
|
|
|
*/ |
|
|
|
|
public $locale; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Returns a currency symbol |
|
|
|
|
* |
|
|
|
|
* @param string $currencyCode the 3-letter ISO 4217 currency code to get symbol for. If null, |
|
|
|
|