method public

BasketPropertyItemBase::getCollection()

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

Сигнатура

public getCollection() : EntityCollection

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

EntityCollection

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

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

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

use Bitrix\Main\Loader;
use Bitrix\Sale\BasketPropertyItemBase;

Loader::includeModule('sale');

/** @var BasketPropertyItemBase $object */
$result = $object->getCollection();
// $result: EntityCollection

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

getCollection() есть и у других классов модуля «Интернет-магазин»: BasketItem, BasketItemBase, BasketPropertyItem, CollectableEntity, Shipment, ShipmentItem, ShipmentItemStore.

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

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