CSCurrency
in package
Tags
Table of Contents
- CURRENCY_POSITION_LEFT = 0
- CURRENCY_POSITION_RIGHT = 1
- createCurrency() : CSCurrencyApiCurrency
- Creates the Currency API object
- getCurrencyPositions() : array<string|int, mixed>
- This method delivers the possible currency positions
- getCurrencySymbols() : array<string|int, mixed>
- Returns the list of currencies indexed by it's ID. Necessary to bind the parameters
Constants
CURRENCY_POSITION_LEFT
public
mixed
CURRENCY_POSITION_LEFT
= 0
Tags
CURRENCY_POSITION_RIGHT
public
mixed
CURRENCY_POSITION_RIGHT
= 1
Tags
Methods
createCurrency()
Creates the Currency API object
public
static createCurrency(mixed $iCurrencyId) : CSCurrencyApiCurrency
Parameters
- $iCurrencyId : mixed
Tags
Return values
CSCurrencyApiCurrency —Object API for Currency
getCurrencyPositions()
This method delivers the possible currency positions
public
static getCurrencyPositions() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getCurrencySymbols()
Returns the list of currencies indexed by it's ID. Necessary to bind the parameters
public
static getCurrencySymbols([int $iLanguageId = null ]) : array<string|int, mixed>
Parameters
- $iLanguageId : int = null
-
Optional language identifier
Tags
Return values
array<string|int, mixed> —The currencies indexed by it's id
