method public

BasketPropertiesCollection::offsetSet()

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

Сигнатура

public offsetSet(mixed $offset, mixed $value) : void

Описание

Смещение для установки.

Параметры

$offset mixed
$value mixed

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

void

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

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

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

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

Loader::includeModule('sale');

/** @var BasketPropertiesCollection $object */
$offset = null;
$value = null;
$object->offsetSet($offset, $value);

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

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

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

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