Метод rebindMailBody
Сигнатура метода
public static function rebindMailBody(int $activityId, string $description): void
Возвращает:
void
Описание
Replaces the body bound to the activity with the full text the operation carries (step 14 of an update). THE PREVIOUS BODY IS DELETED ONLY WHEN THIS ACTIVITY WAS ITS ONLY OWNER: a body shared with another activity - a letter of the same thread whose row points at the same text - survives the rebinding. LEGACY DECIDES THAT ONE STEP EARLIER, while comparing the bodies, and the answer is the same: nothing between the two steps touches either the bodies or their bindings, the write in between being the write of the activity itself. Deciding it here is what keeps the identifier of the stored body out of the run.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activityId
|
int
|
—
|
—
|
$description
|
string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/V2/Internal/Service/Activity/Pipeline/Step/Shared/EmailBranch.php