method public

EntityCollection::offsetUnset()

Класс: \Bitrix\Sale\Internals\EntityCollection

Сигнатура

public offsetUnset(mixed $offset) : void

Описание

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

Параметры

$offset mixed

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

void

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

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

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

use Bitrix\Main\Loader;
use Bitrix\Sale\Internals\EntityCollection;

Loader::includeModule('sale');

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

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

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

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

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