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