Метод getThreadId
Сигнатура метода
public function getThreadId(int $id): ?int
Возвращает:
?int
Описание
The thread the activity belongs to, or null when there is no row with that id. The column is storage-only, so the model cannot carry it, and the one caller that needs it - the step attaching a new activity to its parent - needs the two facts this answer holds at once: whether the parent exists at all, and which thread it continues. A thread of zero is a stored value of legacy rows and not the same answer as "no such activity".
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/Activity/ActivityRepositoryInterface.php
Расположение метода в файле
Строки
129–129