Метод __construct

public

Сигнатура метода

public function __construct(string $name, string $type, ?string $elementType, bool $multiple, LocalizableMessage|string|null $title, LocalizableMessage|string|null $description, array $validationRules, ?array $requiredGroups, bool $filterable, bool $sortable, ?array $editableGroups, bool $isUserField, ?string $sourceUserFieldName)

Параметры

13
Имя Тип По умолчанию Флаги
$name string —
—
$type string —
—
$elementType ?string —
—
$multiple bool —
—
$title LocalizableMessage|string|null —
—
$description LocalizableMessage|string|null —
—
$validationRules array —
—
$requiredGroups ?array —
—
$filterable bool —
—
$sortable bool —
—
$editableGroups ?array —
—
$isUserField bool —
—
$sourceUserFieldName ?string —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Entity/FieldMetadata/FieldMetadata.php
Расположение метода в файле
Строки 20–36

Исходный код

PHP