Documentation

Currency extends Base
in package

Class Currency.

Table of Contents

$currency  : string
$default  : bool
$factor  : float
$id  : int
$name  : string
$position  : int
$symbol  : string
$symbolPosition  : int
getArrayCopy()  : array<string|int, mixed>
Gets the attributes of this entity.
getCurrency()  : string
getFactor()  : float
getId()  : int
getName()  : string
getPosition()  : int
getSymbol()  : string
getSymbolPosition()  : int
isDefault()  : bool
setCurrency()  : Currency
setDefault()  : Currency
setEntityAttributes()  : $this
Sets the attributes of this entity.
setFactor()  : Currency
setId()  : Currency
setName()  : Currency
setPosition()  : Currency
setSymbol()  : Currency
setSymbolPosition()  : Currency

Properties

$symbolPosition

protected int $symbolPosition

Methods

getArrayCopy()

Gets the attributes of this entity.

public getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCurrency()

public getCurrency() : string
Return values
string

getFactor()

public getFactor() : float
Return values
float

getId()

public getId() : int
Return values
int

getName()

public getName() : string
Return values
string

getPosition()

public getPosition() : int
Return values
int

getSymbol()

public getSymbol() : string
Return values
string

getSymbolPosition()

public getSymbolPosition() : int
Return values
int

isDefault()

public isDefault() : bool
Return values
bool

setEntityAttributes()

Sets the attributes of this entity.

public setEntityAttributes(array<string|int, mixed> $attributes) : $this
Parameters
$attributes : array<string|int, mixed>
Return values
$this

setSymbolPosition()

public setSymbolPosition(int $symbolPosition) : Currency
Parameters
$symbolPosition : int
Return values
Currency

Search results