redtally/currency-field_type
Composer 安装命令:
composer require redtally/currency-field_type
包简介
A currency dropdown field type.
README 文档
README
This field type is a select based field type for ISO 4217 currency codes and HTML entities.
Installation
composer require redtally/currency-field_type
php artisan addon:install redtally.field_type.currency
Usage
See the configuration details for the select field type here: https://pyrocms.com/documentation/select-field-type/latest
Values
echo $aStream->currency_field; // outputs 'AUD'
Presenters
echo $aStream->decorated->currency_field->code(); outputs 'AUD'`
echo $aStream->decorated->currency_field->name(); outputs 'Australia'`
echo $aStream->decorated->currency_field->symbol(); outputs '$'
统计信息
- 总下载量: 49
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2018-01-22