Метод changeAudience
Сигнатура метода
public function changeAudience(int $templateId, array $accessCodes, int $actorId, int $expectedPilotId): Result
Возвращает:
Result
Описание
Replaces the audience of the live pilot. The published scheme and its revision stay untouched: changing who sees the version is not publishing it again.
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
$accessCodes
|
array
|
—
|
—
|
$actorId
|
int
|
—
|
—
|
$expectedPilotId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Public/Service/WorkflowTemplate/PilotPublicationService.php
Расположение метода в файле
Строки
260–320