1 | <?php |
||
20 | class FormatController extends Controller |
||
21 | { |
||
22 | /** |
||
23 | * Formats [[$value]] as currency. |
||
24 | * See [[Formatter::asCurrency]] documentation. |
||
25 | * |
||
26 | * @param $value |
||
27 | * @param null $currency |
||
28 | * @param array $options |
||
29 | * @param array $textOptions |
||
30 | * @throws \yii\base\InvalidConfigException |
||
31 | * @return string |
||
32 | */ |
||
33 | public function actionCurrency($value, $currency = null, $options = [], $textOptions = []) |
||
37 | } |
||
38 |