Метод __construct
Сигнатура метода
public function __construct(string $code, string $name, array $fields, array $permissions, ?string $description = null, ?string $iconCode = null, ?string $iconColor = null)
Параметры
7| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$code
|
string
|
—
|
—
|
$name
|
string
|
—
|
—
|
$fields
|
array
|
—
|
—
|
$permissions
|
array
|
—
|
—
|
$description
|
?string
|
null
|
—
|
$iconCode
|
?string
|
null
|
—
|
$iconColor
|
?string
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/security/role/manage/dto/entitydto.php
Расположение метода в файле
Строки
9–20