Метод __construct
Сигнатура метода
public function __construct(int $id, string $name, string $type, bool $isMultiple = false, bool $isRequired = false, bool $isSearchable = false, bool $isFilterable = false, bool $isSortable = false, ?array $entityTypesId = null, ?string $statusTypeId = null, ?int $iBlockId = null)
Параметры
11| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
int
|
—
|
—
|
$name
|
string
|
—
|
—
|
$type
|
string
|
—
|
—
|
$isMultiple
|
bool
|
false
|
—
|
$isRequired
|
bool
|
false
|
—
|
$isSearchable
|
bool
|
false
|
—
|
$isFilterable
|
bool
|
false
|
—
|
$isSortable
|
bool
|
false
|
—
|
$entityTypesId
|
?array
|
null
|
—
|
$statusTypeId
|
?string
|
null
|
—
|
$iBlockId
|
?int
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Item/CustomFieldDescriptor.php
Расположение метода в файле
Строки
15–29