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

