Метод getByActivityId

public

Сигнатура метода

public function getByActivityId(int $activityId): array

Возвращает: array

Описание

Communications of the activity, in the order of their rows. A ROW WITHOUT AN ENTITY IS ONE OF THEM, because it is one for legacy: `GetCommunications()` returns such a row with its zeros, and outgoing mail writes them (see the note of the class). A half-named pair is read as the absence of an entity, the rule legacy's own readers judge by (`PrepareCommunicationInfos`, crm_activity.php:4018-4022). The one row the model cannot describe is one without a channel: a communication without one names nothing at all, and no write path of the CRM produces it.

Параметры

1
Имя Тип По умолчанию Флаги
$activityId int —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/Activity/ActivityCommunicationRepository.php
Расположение метода в файле
Строки 74–112

Исходный код

PHP