Метод __construct
Сигнатура метода
public function __construct(string $key, string $label, string $type, bool $multiple = false, bool $required = false, string|array|null $default = '', ?array $options = null, bool $showInWizard = true, ?string $wizardTitle = null, ?string $wizardDescription = null, ?string $description = null, ?array $settings = null, ?bool $wizardRequired = null, bool $hasWizardDefault = false, string|array|null $wizardDefault = null)
Параметры
15| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$key
|
string
|
—
|
—
|
$label
|
string
|
—
|
—
|
$type
|
string
|
—
|
—
|
$multiple
|
bool
|
false
|
—
|
$required
|
bool
|
false
|
—
|
$default
|
string|array|null
|
''
|
—
|
$options
|
?array
|
null
|
—
|
$showInWizard
|
bool
|
true
|
—
|
$wizardTitle
|
?string
|
null
|
—
|
$wizardDescription
|
?string
|
null
|
—
|
$description
|
?string
|
null
|
—
|
$settings
|
?array
|
null
|
—
|
$wizardRequired
|
?bool
|
null
|
—
|
$hasWizardDefault
|
bool
|
false
|
—
|
$wizardDefault
|
string|array|null
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/AgentConfig/ConstantConfig.php
Расположение метода в файле
Строки
56–102