method public

BasketPropertiesCollection::clearCollection()

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

Сигнатура

public clearCollection() : mixed

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

mixed

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

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

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

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

Loader::includeModule('sale');

/** @var BasketPropertiesCollection $object */
$result = $object->clearCollection();
// $result: mixed

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

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

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

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