method public

BasketPropertiesCollection::offsetUnset()

Класс: \Bitrix\Sale\BasketPropertiesCollection

Сигнатура

public offsetUnset(mixed $offset) : void

Описание

Смещение для удаления.

Параметры

$offset mixed

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

void

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

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

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

use Bitrix\Main\Loader;
use Bitrix\Sale\BasketPropertiesCollection;

Loader::includeModule('sale');

/** @var BasketPropertiesCollection $object */
$offset = null;
$object->offsetUnset($offset);

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

offsetUnset() есть и у других классов модуля «Интернет-магазин»: Basket, BasketBase, BasketItemCollection, BasketPropertiesCollectionBase, CollectionBase, EntityCollection, Fields, ShipmentCollection.

Исходный файл: source/sale/lib/basketproperties.php:68

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