Метод claimRemoval
Сигнатура метода
private function claimRemoval(int $formId, ?DateTime $expectedModifiedTime, bool $confirmed): void
Возвращает:
void
Описание
Takes the form away from every other write before the cascade runs, and refuses the removal when the row no longer carries what the guards were answered out of. A row that was not claimed is read anew, and the guards answer about what it carries now - a form removed in between included, which is the missing form of a repeated removal. A row answering them again was changed once more between the claim and that read: the removal is refused all the same, because nothing destroying may run on a picture the claim did not hold, and it is refused by the guard that made the claim conditional at all.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$formId
|
int
|
—
|
—
|
$expectedModifiedTime
|
?DateTime
|
—
|
—
|
$confirmed
|
bool
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/V2/Internal/Service/WebForm/FormWriter.php