method public

RestrictionInfoCollection::delete()

Класс: \Bitrix\Sale\Services\Base\RestrictionInfoCollection

Сигнатура

public delete(string $restrictionType) : void

Параметры

$restrictionType string

Возвращаемое значение

void

Как применяется в RestrictionInfoCollection

RestrictionInfoCollection::delete() — метод класса \Bitrix\Sale\Services\Base\RestrictionInfoCollection модуля «Интернет-магазин».

Метод объекта: сначала нужен экземпляр RestrictionInfoCollection.

use Bitrix\Main\Loader;
use Bitrix\Sale\Services\Base\RestrictionInfoCollection;

Loader::includeModule('sale');

/** @var RestrictionInfoCollection $object */
$restrictionType = '';
$object->delete($restrictionType);

Другие методы RestrictionInfoCollection

delete() есть и у других классов модуля «Интернет-магазин»: ActionEntity, Base, BasketArchiveTable, BasketItem, BasketItemBase, BasketPropertyItem, BasketPropertyItemBase, BusinessValue.

Исходный файл: source/sale/lib/services/base/restrictioninfocollection.php:24

Что будем искать? Например,Продвижение