Class

eZCurrency

class eZCurrency

Properties

$Value
$Locale

Methods

__construct(eZCurrency|number $value)

Creates a new eZCurrency object with the currency value $value.

setLocale($locale)

adjustValue($old_scale, $new_scale)

setValue($value)

locale()

value()

symbol()

name()

shortName()

toString()

Details

at line 40
public __construct(eZCurrency|number $value)

Creates a new eZCurrency object with the currency value $value.

$value can be a numerical value or an eZCurrency object in which case the value is extracted and copied.

Parameters

eZCurrency|number $value

at line 53
public setLocale($locale)

Parameters

$locale

at line 64
public adjustValue($old_scale, $new_scale)

Parameters

$old_scale
$new_scale

at line 72
public setValue($value)

Parameters

$value

at line 80
public locale()

at line 88
public value()

at line 96
public symbol()

at line 104
public name()

at line 112
public shortName()

at line 120
public toString()