\I18nCurrency
allows more customization of the Silverstripe Currency Formating
- Author: ivo.bathke
Synopsis
class I18nCurrency
extends Currency
{
- // members
- protected static boolean $decimalDelimiter = false;
- protected static boolean $thousandDelimiter = false;
- // methods
- public static void getCurrencySymbol()
- public void Nice()
- public string Pure()
- public void Raw()
- public static void setDecimalDelimiter()
- public static void setThousandDelimiter()
- public static void getDecimalDelimiter()
- public static void getThousandDelimiter()
- private static void init()
Hierarchy
Extends
- Currency
Members
protected
- $decimalDelimiter
- $thousandDelimiter
Methods
private
public
- Nice() — formats value with Symbol and Delimiter
- Pure() — formats without symbol but with delimiter
- Raw() — return unformatted value
- getCurrencySymbol()
- getDecimalDelimiter()
- getThousandDelimiter()
- setDecimalDelimiter()
- setThousandDelimiter()