Метод setParentActivityId

public

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

public function setParentActivityId(?int $parentActivityId): static

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

Описание

Attaches the activity to its parent - the previous activity of a mail thread or of a hierarchy. A parent may be given only once: once the activity has one, changing or detaching it is an error here. Legacy refuses the same change silently, and keeping that silence is the job of the facade.

Параметры

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

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

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

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

Исходный код

PHP