Метод __construct
Сигнатура метода
public function __construct(int $userId, int $targetUserId, int $templateId, array $complexDocumentId, array $parameters, ?int $documentCategoryId = null, ?array $parentWorkflow = null, ?int $startDuration = null, bool $checkAccess = true)
Параметры
9| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
—
|
—
|
$targetUserId
|
int
|
—
|
—
|
$templateId
|
int
|
—
|
—
|
$complexDocumentId
|
array
|
—
|
—
|
$parameters
|
array
|
—
|
—
|
$documentCategoryId
|
?int
|
null
|
—
|
$parentWorkflow
|
?array
|
null
|
—
|
$startDuration
|
?int
|
null
|
—
|
$checkAccess
|
bool
|
true
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Api/Request/WorkflowService/StartWorkflowRequest.php
Расположение метода в файле
Строки
7–19