Метод deleteByActivityId
Сигнатура метода
public function deleteByActivityId(int $activityId): void
Возвращает:
void
Описание
Removes the rows of the activity and leaves the column as it is - which is what the delete path needs: moving an activity to the recycle bin clears the rows while the activity itself, and the list of the files it had, stay for a possible restoration.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activityId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/Activity/ActivityStorageElementRepository.php
Расположение метода в файле
Строки
123–128