Documentation

CAdvType::Delete

boolean
CAdvType::Delete(
 varchar(255) TYPE_SID,
 char(1) CHECK_RIGHTS="Y"
);

The method Delete deletes a type of banners and all banners of this type.

Parameters

TYPE_SID
The symbolic type ID.
CHECK_RIGHTS
If set to "Y", the current user deletion permissions are to be checked. If "N", permissions will not be checked.
© «Bitrix24», 2001-2024
Up