Метод __construct
Сигнатура метода
public function __construct(string $id, ?string $fullName = null, ?string $formatString = null, ?string $decPoint = null, ?string $thousandsSep = null, ?int $decimals = null, ?bool $hideZero = null, ?float $amount = null, ?int $amountCount = null, bool $base = false, ?int $sort = null, ?string $numericCode = null, ?string $languageId = null, ?DateTime $createdTime = null, ?DateTime $updatedTime = null, ?int $createdById = null, ?int $updatedById = null)
Параметры
17| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
string
|
—
|
—
|
$fullName
|
?string
|
null
|
—
|
$formatString
|
?string
|
null
|
—
|
$decPoint
|
?string
|
null
|
—
|
$thousandsSep
|
?string
|
null
|
—
|
$decimals
|
?int
|
null
|
—
|
$hideZero
|
?bool
|
null
|
—
|
$amount
|
?float
|
null
|
—
|
$amountCount
|
?int
|
null
|
—
|
$base
|
bool
|
false
|
—
|
$sort
|
?int
|
null
|
—
|
$numericCode
|
?string
|
null
|
—
|
$languageId
|
?string
|
null
|
—
|
$createdTime
|
?DateTime
|
null
|
—
|
$updatedTime
|
?DateTime
|
null
|
—
|
$createdById
|
?int
|
null
|
—
|
$updatedById
|
?int
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Public/Entity/Item/Currency.php
Расположение метода в файле
Строки
11–31