method
public
ShipmentItemStoreCollection::offsetUnset()
Сигнатура
public offsetUnset(mixed $offset) : void
Описание
Смещение для удаления.
Параметры
$offset
mixed
Возвращаемое значение
void
Как применяется в ShipmentItemStoreCollection
ShipmentItemStoreCollection::offsetUnset() — метод класса \Bitrix\Sale\ShipmentItemStoreCollection модуля «Интернет-магазин».
Метод объекта: сначала нужен экземпляр ShipmentItemStoreCollection.
use Bitrix\Main\Loader;
use Bitrix\Sale\ShipmentItemStoreCollection;
Loader::includeModule('sale');
/** @var ShipmentItemStoreCollection $object */
$offset = null;
$object->offsetUnset($offset);Другие методы ShipmentItemStoreCollection
canAutoFixError()checkAvailableQuantity()clearCollection()clearStartField()count()Подсчитывает количество элементов объекта.createItem()current()Возвращает текущий элемент.doFinalAction()getAllBarcodeList()getErrorEntity()getIndexById()getItemByBarcode()
offsetUnset() есть и у других классов модуля «Интернет-магазин»: Basket, BasketBase, BasketItemCollection, BasketPropertiesCollection, BasketPropertiesCollectionBase, CollectionBase, EntityCollection, Fields.
Исходный файл: source/sale/lib/shipmentitemstorecollection.php:68

