Метод createDocument
Сигнатура метода
private function createDocument(string $operationId, int $userId, string $contextHash, ?array $knownState, callable $documentFactory, ?callable $documentLoader): Result
Возвращает:
Result
Параметры
6| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$operationId
|
string
|
—
|
—
|
$userId
|
int
|
—
|
—
|
$contextHash
|
string
|
—
|
—
|
$knownState
|
?array
|
—
|
—
|
$documentFactory
|
callable
|
—
|
—
|
$documentLoader
|
?callable
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/integration/documentgenerator/creationoperationservice.php
Расположение метода в файле
Строки
195–334