Метод getAudience
Сигнатура метода
public function getAudience(int $templateId, int $actorId): Result
Возвращает:
Result
Описание
The audience of the live pilot as the publisher has to see it: an element that has been deleted or has become unavailable is marked, not dropped, so it can be recognized and replaced. Reading is not gated by the feature flag: the answer changes no data and reaches only someone who may publish this template anyway.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
$actorId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Public/Service/WorkflowTemplate/PilotPublicationService.php
Расположение метода в файле
Строки
229–251