method public Устаревший

BasketPropertiesCollection::setProperty()

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

Сигнатура

public setProperty(array<string|int, mixed> $values) : mixed

Параметры

$values array<string|int, mixed>

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

mixed

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

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

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

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

Loader::includeModule('sale');

/** @var BasketPropertiesCollection $object */
$values = [];
$result = $object->setProperty($values);
// $result: mixed

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

setProperty() есть и у других классов модуля «Интернет-магазин»: BasketPropertiesCollectionBase.

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

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