Метод deleteCascade

public

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

public function deleteCascade(int $formId): Result

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

Описание

Removes everything the form owns except its own row. The cascade runs to its end and only then answers: stopping halfway would leave more of the form behind than finishing does. An unsuccessful result carries the errors of the first step that failed.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/WebForm/FormDeleteRepository.php
Расположение метода в файле
Строки 56–91

Исходный код

PHP