Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
11–21
~/bitrix/modulestasks/lib/V2/Internal/Service/Esg/Detector/ChecklistOperation.php
Исходный код
Сигнатура метода
public function __construct(NotificationType $type, string $checklistName, int $itemCount = 1, ?string $assigneeName = null, ?int $assigneeId = null, array $additionalData = [], ?string $itemName = null, ?int $itemId = null, array $itemIds = [])
Параметры
9| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$type
|
NotificationType
|
-
|
-
|
$checklistName
|
string
|
-
|
-
|
$itemCount
|
int
|
1
|
-
|
$assigneeName
|
?string
|
null
|
-
|
$assigneeId
|
?int
|
null
|
-
|
$additionalData
|
array
|
[]
|
-
|
$itemName
|
?string
|
null
|
-
|
$itemId
|
?int
|
null
|
-
|
$itemIds
|
array
|
[]
|
-
|