Метод classifyTemplate
Сигнатура метода
public function classifyTemplate(int $userId, int $templateId): AudienceMatch
Возвращает:
AudienceMatch
Описание
Answers both whether the template has a pilot and whether the employee matches it in one query.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
—
|
—
|
$templateId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Service/Pilot/PilotAudienceService.php
Расположение метода в файле
Строки
72–75