method public

ShipmentItemStoreCollection::offsetExists()

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

Сигнатура

public offsetExists(mixed $offset) : bool

Описание

Существует ли смещение.

Параметры

$offset mixed

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

bool

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

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

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

use Bitrix\Main\Loader;
use Bitrix\Sale\ShipmentItemStoreCollection;

Loader::includeModule('sale');

/** @var ShipmentItemStoreCollection $object */
$offset = null;
$result = $object->offsetExists($offset);
// $result: bool

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

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

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

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