Метод deletePages

public

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

public function deletePages(int $formId): Result

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

Описание

Removes the bridge rows of the form and, through them, the landing pages themselves with their blocks and files. The bridge is a table of the crm module and is cleared even when the module publishing the page is gone, the way the legacy delete cascade clears it: the removal of the page itself is guarded by the bridge and bypasses the rights of the landing module.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Integration/Landing/FormPage.php
Расположение метода в файле
Строки 85–102

Исходный код

PHP