CurrencyClassifier
FinalYes
Class CurrencyClassifier
Table of Contents
Constants
- DECIMAL_POINT_COMMA = ','
- DECIMAL_POINT_DOT = '.'
- SEPARATOR_COMMA = 'C'
- SEPARATOR_DOT = 'D'
- SEPARATOR_EMPTY = 'N'
- SEPARATOR_NBSPACE = 'B'
- SEPARATOR_SPACE = 'S'
Methods
- get() : array<string|int, mixed>
- Return classifier
- getCurrency() : array<string|int, mixed>|null
- Returns currency description with language settings.
Constants
DECIMAL_POINT_COMMA
public
mixed
DECIMAL_POINT_COMMA
= ','
DECIMAL_POINT_DOT
public
mixed
DECIMAL_POINT_DOT
= '.'
SEPARATOR_COMMA
public
mixed
SEPARATOR_COMMA
= 'C'
SEPARATOR_DOT
public
mixed
SEPARATOR_DOT
= 'D'
SEPARATOR_EMPTY
public
mixed
SEPARATOR_EMPTY
= 'N'
SEPARATOR_NBSPACE
public
mixed
SEPARATOR_NBSPACE
= 'B'
SEPARATOR_SPACE
public
mixed
SEPARATOR_SPACE
= 'S'
Methods
get()
Return classifier
public
static get(array<string|int, mixed> $languageIds, string $baseLanguageId[, string|null $b24Area = null ]) : array<string|int, mixed>
Parameters
- $languageIds : array<string|int, mixed>
-
Array of languages.
- $baseLanguageId : string
-
Base language.
- $b24Area : string|null = null
-
Specific Bitrix24 parameter.
Return values
array<string|int, mixed>getCurrency()
Returns currency description with language settings.
public
static getCurrency(string $currency, array<string|int, mixed> $languages[, string|null $b24Area = null ]) : array<string|int, mixed>|null
Parameters
- $currency : string
-
Currency identifier.
- $languages : array<string|int, mixed>
-
Language id list.
- $b24Area : string|null = null
-
Specific Bitrix24 parameter.