NumberFormatFilter
Namespace
IO\Extensions\Filters
Extends
Type | Name | Description |
---|---|---|
|
||
|
||
|
Methods
public __construct($config)
NumberFormatFilter constructor.
Type |
Name |
Description |
|
public getFilters():array
Return the available filter methods
public formatDateTime($value):string
Format incorrect JSON ENCODED dateTimeFormat
Type |
Name |
Description |
|
public trimNewlines($value):string
Trim newlines from string
Type |
Name |
Description |
|
public formatDecimal($value, $decimal_places = -1):string
Format the given value to decimal
Type |
Name |
Description |
|
||
|
public formatMonetary($value, $currencyISO):string
Format the given value to currency
Type |
Name |
Description |
|
||
|
public fromMemoryCache()
public resetMemoryCache($key = null)
Type |
Name |
Description |
|
Thank you for your feedback!