Метод resolveCompletionStatus
Сигнатура метода
private function resolveCompletionStatus(Activity $activity, int $id, bool $isCompleted): CompletionStatus
Возвращает:
CompletionStatus
Описание
The status of an activity whose completion flag is being written, by the rules of legacy (:2059-2084): "not completed" forces the waiting state whatever the caller asked for, a completion keeps an earlier automatic one, and the waiting state cannot survive a completion.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activity
|
Activity
|
—
|
—
|
$id
|
int
|
—
|
—
|
$isCompleted
|
bool
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/Activity/ActivityRepository.php
Расположение метода в файле
Строки
578–599